PackageDigitalSignatureManager.RemoveSignature Method (Uri)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the digital signature with a given signature uniform resource identifier (URI). 

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public void RemoveSignature(
	Uri signatureUri
)

Parameters

signatureUri
Type: System.Uri

The URI of the PackageDigitalSignature to remove.

This method also removes the associated X.509 certificate if it is not referenced by any other digital signature.

After removing a signature, call Flush to persist the change to the store.

.NET Framework
Available since 3.0
Return to top
Show: