using System; string machineName = Environment.MachineName; Console.WriteLine(machineName);
[C#] マシン名の取得
Categories:
using System; string machineName = Environment.MachineName; Console.WriteLine(machineName);