CryptoServiceProviderGetSystemProviders Method |
Gets the list of all CPSs that are registered in the operating system.
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public static string[] GetSystemProviders()
Public Shared Function GetSystemProviders As String()
Return Value
Type:
StringA reference to the array of string names of all CSPs supported by the operating system.
Examples This sample displays the names of all supported CSPs.
using System;
using MailBee.Security;
string[] cryptoProviderNames = CryptoServiceProvider.GetSystemProviders();
foreach (string name in cryptoProviderNames)
{
Console.WriteLine(name);
}
Imports MailBee.Security
Dim cryptoProviderNames As String() = CryptoServiceProvider.GetSystemProviders()
For Each name As String In cryptoProviderNames
Console.WriteLine(name)
Next
See Also