Session Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.SPOT.Cryptoki
Assembly: Microsoft.SPOT.Security.PKCS11 (in Microsoft.SPOT.Security.PKCS11.dll)
Syntax
'Declaration
Public Sub New ( _
providerName As String, _
ParamArray mechanisms As MechanismType() _
)
public Session(
string providerName,
params MechanismType[] mechanisms
)
public:
Session(
String^ providerName,
... array<MechanismType>^ mechanisms
)
new :
providerName:string *
mechanisms:MechanismType[] -> Session
public function Session(
providerName : String,
... mechanisms : MechanismType[]
)
Parameters
- providerName
Type: System. . :: . .String
- mechanisms
Type: array<Microsoft.SPOT.Cryptoki. . :: . .MechanismType> [] () [] []
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.