X509Certificate.GetName Metod

Definition

Varning

This method has been deprecated. Please use the Subject property instead. http://go.microsoft.com/fwlink/?linkid=14202

Varning

This method has been deprecated. Please use the Subject property instead. https://go.microsoft.com/fwlink/?linkid=14202

Returnerar namnet på det huvudnamn som certifikatet utfärdades till.

public:
 virtual System::String ^ GetName();
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();
[System.Obsolete("This method has been deprecated.  Please use the Subject property instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public virtual string GetName();
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
[<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
Public Overridable Function GetName () As String

Returer

Namnet på det huvudnamn som certifikatet utfärdades till.

Attribut

Undantag

Certifikatkontexten är ogiltig.

Gäller för