|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
gethostbynamewhats the proper way to get my computers name and display the string
variable I asgin it to. dim pcName as string pcName = ...... gethostbyname \\write pcName to console What do I need to include to get the host name "Jason" <ja***@someone.com> schrieb: \\\> whats the proper way to get my computers name and display the string > variable I asgin it to. > > dim pcName as string > > pcName = ...... gethostbyname > \\write pcName to console > > What do I need to include to get the host name Console.WriteLine(Environment.MachineName) /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> |
|||||||||||||||||||||||