This documentation is archived and is not being maintained.
OSDetails Class
Visual Studio 2013
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.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
The OSDetails type exposes the following members.
| 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 | |
![]() ![]() | IsWinBlueOrLater | |
![]() ![]() | IsWow64 | Returns true if the current process is running in WOW64 mode. |
![]() ![]() | MajorVersion | |
![]() ![]() | MinorVersion | |
![]() ![]() | ServicePackMajor | |
![]() ![]() | ServicePackMinor | |
![]() ![]() | Version |
| Name | Description | |
|---|---|---|
![]() ![]() | IsMachineInWorkgroup | Returns true if computer is joined to a workgroup or not joined. Otherwise, returns false (computer joined to a domain). |
Show:
