public byte[] GetDeploymentProperty(Store.GetPackagePropertyFlags Flags, IDefinitionAppId Deployment, StoreApplicationReference Reference, Guid PropertySet, string PropertyName)
{
BLOB blob = default(BLOB);
byte[] array = null;
try
{
this._pStore.GetDeploymentProperty((uint)Flags, Deployment, ref Reference, ref PropertySet, PropertyName, out blob);
array = new byte[blob.Size];
Marshal.Copy(blob.BlobData, array, 0, (int)blob.Size);
}
finally
{
blob.Dispose();
}
return(array);
}