UploadArchive Method
Uploads an archive to a vault.
Syntax
[VB.NET] Public Function UploadArchive(ByVal VaultName As String, ByVal ArchiveDesc As String) As String
[C#] public string UploadArchive(string vaultName, string archiveDesc);
Remarks
This method uploads an archive to the vault specified by VaultName. If SetUploadStream was used to specify a valid stream, the archive data will be read from there. If LocalFile is set, the archive data will be read from the specified file. If LocalFile is not set, the data set in ArchiveData will be used.
The ArchiveDesc parameter may be set to a user friendly description of the archive. The description must be less than or equal to 1,024 characters. The allowable characters are 7-bit ASCII without control codes, specifically ASCII values 32-126 decimal or 0x20-0x7E hexadecimal.
This method returns the ArchiveId if the data was successfully uploaded.
NOTE: This method has a corresponding asynchronous version (UploadArchiveAsync) for use in the WinRT environment.