コード例 #1
0
		public async Task Upload()
		{
			var tempArchiveFile = new StorageFile(RelativePathParts.Merge(String.Format("{0}.zip", Name)));
			Utils.CompressFiles(Directory.GetFiles(LocalPath), tempArchiveFile.LocalPath);
			await tempArchiveFile.AllocateParentFolder(true);
			await tempArchiveFile.Upload();
		}