System.Environment Class
Information   Base Types   Related Resources

Provides information about, and means to manipulate, the current environment and platform. This class cannot be inherited.

  • Namespace: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (5)Discussions (1104)MembersRotorChanges
    Articles

    Page: 1
    How to validate Windows user rights in a Visual Basic .NET application
    http://www.kbalertz.com/
    (841699) - Describes how to verify the user's Windows user account and password in a Visual Basic .NET application. Uses the LogonUser Win32 API to verify the user name and password.
    How to validate Windows user rights in a Visual Basic .NET application
    http://www.kbalertz.com/
    (841699) - Describes how to verify the user's Windows user account and password in a Visual Basic .NET application. Uses the LogonUser Win32 API to verify the user name and password.
    NET Diagnostics – IV, Use Environment Class To Get Your Environment
    The Code Project
    As the title of article says, I will be discussing use of Environment class in System namespace. I was looking for equivalents to some of very useful Win32 APIs that we use in our projects a lot. E.g. what is my OS, what is path to system folder, what is the current folder, how do I terminate a process, etc? In Win32 we have APIs like GetVersionEx, GetCurrentDirectory, GetSystemDirectory, exit, etc. to accomplish all these tasks. So where do we look in .NET SDK for all these APIs.
    One web.config for all developers
    The Code Project
    Allows ASP.NET developers and the final production environment to share one web.config file
    PRB: System.Environment Class Does Not Have a Method to Set the Environment Variable for the Current Process
    http://www.kbalertz.com/
    (829145) - The System.Environment class has methods to read the environment variables. However, this class has no method to set the environment variables for the current process.
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com