PackageDigitalSignatureManager.RemoveSignature Method (Uri)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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


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