You cannot use a mic in a LineIn socket of any system. The main reason is level of the signal being handled. LineIn requires an input level of 100 or more MilliVolts for proper working. Your mic will give only about 1 to 20 depending on the quality and type.

In a computer, the LineIn accepts a Stereo signal. Input to this can be from another audio source like a tape deck, Tuner, and the like, which have a LineOut feature. Of course, one gets away with tapping the speaker output with an interface (for signal and impedence matching), though a sound engineer would not prefer it.

Secondly, the MicIn socket of the computer is designed to accept a "condensor" mic. These mikes require a "bias" voltage which is supplied by the computer. Also the input is Mono, not Stereo. This means, one cannot connect a Dynamic mic to the computer MicIn, at least not directly.

If you need to record a good quality sound from a mic source, you need to have a "pre amplifier" whose output can be connected to the LineIn of your computer. These are commercially available with the required cables.

If you have a good Audio System, check if it has a MicIn and a LineOut sockets. You can use these. Required cables are commercially available.

Hope this helps.