Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OSDetails Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides information about the Team Foundation Server operating system. This class does not attempt to provide information for older operating systems the server is not supported on (e.g. Windows 2000, Home Server and Windows XP).

If support for those OS's are needed - feel free to extend this class.

System.Object
  Microsoft.TeamFoundation.Common.OSDetails

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
public static class OSDetails

The OSDetails type exposes the following members.

  NameDescription
Public propertyStatic memberEdition
Public propertyStatic memberIs64BitNotWow64Returns true if the current process is running on 64-bit AND NOT in WOW64 mode.
Public propertyStatic memberIs64BitOperatingSystemReturns true if OS is 64 bit.
Public propertyStatic memberIsClientTrue if a client OS such as Windows Vista or Windows 7.
Public propertyStatic memberIsDomainController
Public propertyStatic memberIsHomeEdition
Public propertyStatic memberIsIis7OrLater
Public propertyStatic memberIsServerTrue if a server OS such as Windows Server 2003 or Windows 2008.
Public propertyStatic memberIsUnsupportedEdition
Public propertyStatic memberIsWin8OrLater
Public propertyStatic memberIsWinBlueOrLater
Public propertyStatic memberIsWow64Returns true if the current process is running in WOW64 mode.
Public propertyStatic memberMajorVersion
Public propertyStatic memberMinorVersion
Public propertyStatic memberServicePackMajor
Public propertyStatic memberServicePackMinor
Public propertyStatic memberVersion
Top
  NameDescription
Public methodStatic memberIsMachineInWorkgroupReturns true if computer is joined to a workgroup or not joined. Otherwise, returns false (computer joined to a domain).
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.