SubjectAlternativeNameBuilder.Build(Boolean) Method
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.
Returns an X509Extension object that represents the encoded subject alternative name extension.
public System.Security.Cryptography.X509Certificates.X509Extension Build (bool critical = false);
member this.Build : bool -> System.Security.Cryptography.X509Certificates.X509Extension
Public Function Build (Optional critical As Boolean = false) As X509Extension
Parameters
- critical
- Boolean
true
to mark the extension as Critical; otherwise, false
. The default value is false
.
Returns
An X509Extension object that represents the encoded subject alternative name extension.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.