CertificateRequestProperties.FriendlyName CertificateRequestProperties.FriendlyName CertificateRequestProperties.FriendlyName CertificateRequestProperties.FriendlyName CertificateRequestProperties.FriendlyName Property

Definition

Gets or sets the display name of the enrolled certificate.

public : Platform::String FriendlyName { get; set; }
winrt::hstring FriendlyName();

void FriendlyName(winrt::hstring friendlyname);
public string FriendlyName { get; set; }
Public ReadWrite Property FriendlyName As string
var string = certificateRequestProperties.friendlyName;
certificateRequestProperties.friendlyName = string;

Property Value

string string string

The display name.

Examples

public String GetSetDisplayName(String strDisplayNameIn)
{
    // Create a new CertificateRequestProperties object.
    CertificateRequestProperties reqProperties = new CertificateRequestProperties();
    
    // The default value is an empty string.
    String defaultName = reqProperties.FriendlyName;

    // If the input option does not equal the default option, reset the property value.
    if (strDisplayNameIn != defaultName)
    {
        reqProperties.FriendlyName = strDisplayNameIn;
    }

    // Return the display name.
    return reqProperties.FriendlyName;

}

Remarks

By default, this value is an empty string. FriendlyName