Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new WindowsCredential instance using a default user interface provider implementation and the default network credentials, if they are specified.
Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    useDefaultCredentials As Boolean _
)
public WindowsCredential(
    bool useDefaultCredentials
)
public:
WindowsCredential(
    bool useDefaultCredentials
)
new : 
        useDefaultCredentials:bool -> WindowsCredential
public function WindowsCredential(
    useDefaultCredentials : boolean
)
Parameters
- useDefaultCredentials 
 Type: System.Boolean- True if the default credentials should be used; otherwise, false 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.