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, completion status, and connection group identifier. [Edit]

public Authorization (string token, bool complete, string connectionGroupId)

Parameters

token
A string containing the authentication message to be sent to the server. [Edit]
complete
Documentation for this section has not yet been entered. [Edit]
connectionGroupId
A string containing a unique identifier that will be used to identify the authenticated connection, or null . [Edit]

Remarks

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

Note:

The connection group identifier is used to restrict access to the server connection established with the current authorization instance. Only System.Net.WebRequest instances that have connectionGroupId as their WebRequest.ConnectionGroupName property value can use the connection. The connection group information set by this constructor is also available in the ServicePoint.ConnectionName property of the service point that represents the connection.

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.

[Edit]

Requirements

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