/// <summary>
/// Returns the Windows Dir of the OS.
/// </summary>
/// <returns></returns>
public static string WinDir()
{
DirectoryInfo di = new DirectoryInfo(Environment.SystemDirectory);
return di.Parent.FullName;
}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.