OSDetails Class
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.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Common.OSDetails
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public NotInheritable Class OSDetails
public static class OSDetails
public ref class OSDetails abstract sealed
[<AbstractClass>]
[<Sealed>]
type OSDetails = class end
public final class OSDetails
The OSDetails type exposes the following members.
Properties
Name | Description | |
---|---|---|
Edition | ||
Is64BitNotWow64 | Returns true if the current process is running on 64-bit AND NOT in WOW64 mode. | |
Is64BitOperatingSystem | Returns true if OS is 64 bit. | |
IsClient | True if a client OS such as Windows Vista or Windows 7. | |
IsDomainController | ||
IsHomeEdition | ||
IsIis7OrLater | ||
IsServer | True if a server OS such as Windows Server 2003 or Windows 2008. | |
IsUnsupportedEdition | ||
IsWin8OrLater | ||
IsWow64 | Returns true if the current process is running in WOW64 mode. | |
MajorVersion | ||
MinorVersion | ||
ServicePackMajor | ||
ServicePackMinor | ||
Version |
Top
Methods
Name | Description | |
---|---|---|
IsMachineInWorkgroup | Returns true if computer is joined to a workgroup or not joined. Otherwise, returns false (computer joined to a domain). |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.