CertificateRequestProperties.FriendlyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the display name of the enrolled certificate.
public:
property Platform::String ^ FriendlyName { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring FriendlyName();
void FriendlyName(winrt::hstring value);
public string FriendlyName { get; set; }
var string = certificateRequestProperties.friendlyName;
certificateRequestProperties.friendlyName = string;
Public Property FriendlyName As String
Property Value
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
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for