X509Certificate.GetName Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Внимание
X509Certificate.GetName has been deprecated. Use the Subject property instead.
Внимание
This method has been deprecated. Please use the Subject property instead. https://go.microsoft.com/fwlink/?linkid=14202
Внимание
This method has been deprecated. Please use the Subject property instead. http://go.microsoft.com/fwlink/?linkid=14202
Возвращает имя субъекта, которому был выдан сертификат.
public:
virtual System::String ^ GetName();
[System.Obsolete("X509Certificate.GetName has been deprecated. Use the Subject property instead.")]
public virtual string GetName();
[System.Obsolete("This method has been deprecated. Please use the Subject property instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public virtual string GetName();
[System.Obsolete("This method has been deprecated. Please use the Subject property instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual string GetName();
public virtual string GetName();
[<System.Obsolete("X509Certificate.GetName has been deprecated. Use the Subject property instead.")>]
abstract member GetName : unit -> string
override this.GetName : unit -> string
[<System.Obsolete("This method has been deprecated. Please use the Subject property instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member GetName : unit -> string
override this.GetName : unit -> string
[<System.Obsolete("This method has been deprecated. Please use the Subject property instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member GetName : unit -> string
override this.GetName : unit -> string
abstract member GetName : unit -> string
override this.GetName : unit -> string
Public Overridable Function GetName () As String
Возвращаемое значение
Имя субъекта, которому был выдан сертификат.
- Атрибуты
Исключения
Недопустимый контекст сертификата.