Cloud Utilities
The .Net UAS package includes a CloudUtilities.dll and associated sample applications that illustrate how to use this library.
It references the 3rd party library LibTiff.Net which is included in the package.
Copyright (c) 2008-2011, Bit Miracle. All rights reserved.
Currently this provides tools to check that the format of a media file complies with the Cloud's requirements, in advance of uploading it.
This is particularly useful for media files that are encrypted as the Cloud cannot reject encrypted files that are incompatible on upload.
Cloud Utilities Library
The Cloud Utilities class library contains the following utility classes:
FileFormatValidator
- validates media file data for use on Aculab Cloud.
Use to check .wav or .tif file contents. Can be used to validate encrypted or non-encrypted file data.
An xml documentation file for the library is included.
Cloud Utilities Library Client Samples
Along with the library are included the following client samples:
CheckFileFormat
A stand-alone console application that validates encrypted and non-encrypted .wav and .tif files using the FileFormatValidator class.
Usage:
CheckFileFormat [-k decryptionkeyfilename -i decryptionivfilename] filename
Where:
filename
= the name of the file to check - either a .wav or .tif file.
If the file is AES encrypted then must supply the decryption data:
decryptionkeyfilename
= the name of the binary file containing the decryption key for the file to check
decryptionivfilename
= the name of the binary file containing the decryption initialisation vector for the file to check
Examples:
CheckFileFormat WelcomeMsg.wav
CheckFileFormat FirstPage.tif
CheckFileFormat -k EncryptedMsgKey.dat -i EncryptedMsgIV.dat EncryptedMsg.wav
CheckFileFormat -k EncryptedPageKey.dat -i EncryptedPageIV.dat EncryptedPage.tif