2 // System.Security.Cryptography CspParameters.cs
\r
5 // Thomas Neidhart (tome@sbox.tugraz.at)
\r
10 namespace System.Security.Cryptography
\r
14 /// Contains information passed to Crypto Service Providers (CSP)
\r
16 public sealed class CspParameters
\r
18 private CspProviderFlags _Flags;
\r
20 public CspParameters() : this(1) {}
\r
22 public CspParameters(int dwTypeIn) : this(dwTypeIn, null) {}
\r
24 public CspParameters(int dwTypeIn, string strProviderNameIn) : this(dwTypeIn, null, null) {}
\r
26 public CspParameters(int dwTypeIn, string strProviderNameIn, string strContainerNameIn)
\r
28 ProviderType = dwTypeIn;
\r
29 ProviderName = strProviderNameIn;
\r
30 KeyContainerName = strContainerNameIn;
\r
32 // not defined in specs, only tested from M$ impl
\r
36 public string KeyContainerName;
\r
38 public int KeyNumber;
\r
40 public string ProviderName;
\r
42 public int ProviderType;
\r
44 public CspProviderFlags Flags
\r
57 } // System.Security.Cryptography
\r