Save

XarArchive.Save method (1 of 2)

Saves archive to destination file provided.

public void Save(string destinationFileName)
ParameterTypeDescription
destinationFileNameStringThe path of the archive to be created. If the specified file name points to an existing file, it will be overwritten.

Exceptions

exceptioncondition
ArgumentNullExceptiondestinationFileName is null.
InvalidOperationExceptionImpossible to modify xar archive.

See Also


XarArchive.Save method (2 of 2)

Saves archive to the stream provided.

public void Save(Stream output)
ParameterTypeDescription
outputStreamDestination stream.

Exceptions

exceptioncondition
ArgumentNullExceptionoutput is null.
ArgumentExceptionoutputIs not writable/readable or not seekable.
InvalidOperationExceptionImpossible to modify xar archive.

See Also