Creates a new SSPI session.

Namespace:  Rebex.Security.Authentication
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub New ( _
	package As String, _
	usage As SspiCredentialUsage, _
	dataRepresentation As SspiDataRepresentation, _
	targetName As String, _
	requirements As SspiRequirements, _
	userName As String, _
	password As String, _
	userDomain As String _
)
C#
public SspiAuthentication(
	string package,
	SspiCredentialUsage usage,
	SspiDataRepresentation dataRepresentation,
	string targetName,
	SspiRequirements requirements,
	string userName,
	string password,
	string userDomain
)

Parameters

package
Type: System..::..String
Authentication package.
usage
Type: Rebex.Security.Authentication..::..SspiCredentialUsage
Credential usage.
dataRepresentation
Type: Rebex.Security.Authentication..::..SspiDataRepresentation
Data representation.
targetName
Type: System..::..String
Target name.
requirements
Type: Rebex.Security.Authentication..::..SspiRequirements
Requirements.
userName
Type: System..::..String
User name.
password
Type: System..::..String
Password.
userDomain
Type: System..::..String
User domain

Remarks

Only supported on Windows platforms.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also