MD5.Create Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Позволяет создавать конкретные реализации этого абстрактного класса.
Перегрузки
| Имя | Описание |
|---|---|
| Create() |
Создает экземпляр реализации хэш-алгоритма MD5 по умолчанию. |
| Create(String) |
Устаревшие.
Создает экземпляр указанной реализации хэш-алгоритма MD5 . |
Create()
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
Создает экземпляр реализации хэш-алгоритма MD5 по умолчанию.
public:
static System::Security::Cryptography::MD5 ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.MD5 Create();
public static System.Security.Cryptography.MD5 Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.MD5
static member Create : unit -> System.Security.Cryptography.MD5
Public Shared Function Create () As MD5
Возвращаемое значение
Новый экземпляр хэш-алгоритма MD5 .
- Атрибуты
Исключения
Алгоритм использовался с включенным режимом федеральной информационной обработки (FIPS), но не совместим с FIPS.
См. также раздел
Применяется к
Create(String)
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
- Исходный код:
- MD5.cs
Внимание!
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
Создает экземпляр указанной реализации хэш-алгоритма MD5 .
public:
static System::Security::Cryptography::MD5 ^ Create(System::String ^ algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
[System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.MD5? Create(string algName);
public static System.Security.Cryptography.MD5? Create(string algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.MD5? Create(string algName);
public static System.Security.Cryptography.MD5 Create(string algName);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
[<System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : string -> System.Security.Cryptography.MD5
static member Create : string -> System.Security.Cryptography.MD5
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
static member Create : string -> System.Security.Cryptography.MD5
Public Shared Function Create (algName As String) As MD5
Параметры
Возвращаемое значение
Новый экземпляр указанной реализации MD5.
- Атрибуты
Исключения
Алгоритм, описанный algName параметром, использовался с включенным режимом федеральных стандартов обработки информации (FIPS), но не совместим с FIPS.
Комментарии
Возможные значенияalgName: System.Security.Cryptography.MD5, , MD5System.Security.Cryptography.MD5CryptoServiceProviderи System.Security.Cryptography.MD5Managed.