Mentalis.org Security Library documentation

Certificate.GetName Method 

Returns the name of the current principal.

[Visual Basic]
Public Function GetName() As String
[C#]
public string GetName();

Return Value

The name of the current principal.

Remarks

Thanks go out to Jonni Faiga for notifying us about a bug in this method.

Exceptions

Exception TypeCondition
CertificateExceptionThe certificate does not have a name attribute.

See Also

Certificate Class | Certificate Members | Org.Mentalis.Security.Certificates Namespace