ClientWebSocketOptions.UseDefaultCredentials Property

.NET Framework 4.5

Gets or sets a Boolean value that indicates if default credentials should be used during WebSocket handshake.

Namespace:  System.Net.WebSockets
Assembly:  System (in System.dll)

public bool UseDefaultCredentials { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.
true if default credentials should be used during WebSocket handshake; otherwise false. The default is true.

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft