ComputerInfo Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Common.ComputerInfo

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public NotInheritable Class ComputerInfo
public static class ComputerInfo
public ref class ComputerInfo abstract sealed
[<AbstractClass>]
[<Sealed>]
type ComputerInfo =  class end
public final class ComputerInfo

The ComputerInfo type exposes the following members.

Properties

  Name Description
Public propertyStatic member ComputerDomain If computer is joined to a domain, returns the domain name computer is joined to; otherwise return null.
Public propertyStatic member MachineName

Top

Methods

  Name Description
Public methodStatic member DnsSafeIsSameMachine
Public methodStatic member GetComputerAccount
Public methodStatic member GetComputerDomain Gets a NetBIOS domain name of the specified computer. This method is only supported on computers that are joined to a domain. On computers that are not joined to a domain, this method throws TfsAdminException exception.
Public methodStatic member IsLocalMachine(String)
Public methodStatic member IsLocalMachine(Uri)
Public methodStatic member IsSameMachine

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.

See Also

Reference

Microsoft.TeamFoundation.Common Namespace