Mono Class Library: System.Net.Authorization Overview | Members

System.Net.Authorization Constructor

Constructs and initializes a new instance of the System.Net.Authorization class with the specified authorization message.

public Authorization (string token)

Parameters

token
A string containing the authorization message to be sent to the server.

Remarks

This constructor creates a System.Net.Authorization instance with the Authorization.Message property set to token and the Authorization.Complete property set to true. If token is null or a zero-length string, Authorization.Message is set to null. Authorization.ConnectionGroupId is set to null.

Note: The Authorization.Complete property indicates whether the authentication, as defined by the authentication protocol implemented by the caller, is finished or requires additional information exchange between the client and server.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0