NameBuffer = Environment.MachineName.PadRight(16, ControlChars.NullChar) PcName = NameBuffer.TrimEnd(ControlChars.NullChar)