Saves this StrongNameFile instance to disk in the SNK file format.

Namespace: Org.Mentalis.Security.Tools
Assembly:   Org.Mentalis.Security.Tools (in Org.Mentalis.Security.Tools)
Version: 1.0.0.0

Syntax

Visual Basic (Declaration)
Public Sub Save ( _
	fileName As String, _
	includePrivateKey As Boolean _
)
C#
public void Save (
	string fileName,
	bool includePrivateKey
)
Visual C++
public:
void Save (
	String^ fileName, 
	bool includePrivateKey
)

Parameters

fileName
System.String
The filename to save to.
includePrivateKey
System.Boolean
true if the private key must be included, false otherwise.

Exceptions

ExceptionCondition
System.ObjectDisposedExceptionThe object has been disposed.
System.NotSupportedExceptionThe private key is not available or the data cannot be exported.
System.ArgumentNullExceptionfileName is a null reference.