T
Terry Reardon
Hi:
I have problem getting the name of a client machine running windows 98.
On Windows 2000 the client works just as it should and this function
returns the machine name.
On a windows 98 second edition it returns an empty string.
Here is a section of code.
public string GetMachineName()
{
string strMachineName;
strMachineName = Environment.GetEnvironmentVariable("COMPUTERNAME" );
}
Any ideas or could some one point me in the right direction.
TJ. Reardon
I have problem getting the name of a client machine running windows 98.
On Windows 2000 the client works just as it should and this function
returns the machine name.
On a windows 98 second edition it returns an empty string.
Here is a section of code.
public string GetMachineName()
{
string strMachineName;
strMachineName = Environment.GetEnvironmentVariable("COMPUTERNAME" );
}
Any ideas or could some one point me in the right direction.
TJ. Reardon