public void Destroy()
{
if (this.PropertiesToSet != IntPtr.Zero)
{
DestroyProperties(this.PropertiesToSet, (ulong) this.cPropertiesToSet.ToInt64());
this.PropertiesToSet = IntPtr.Zero;
this.cPropertiesToSet = IntPtr.Zero;
}
if (this.PropertiesToTest != IntPtr.Zero)
{
DestroyProperties(this.PropertiesToTest, (ulong) this.cPropertiesToTest.ToInt64());
this.PropertiesToTest = IntPtr.Zero;
this.cPropertiesToTest = IntPtr.Zero;
}
if (this.InstallerReference != IntPtr.Zero)
{
StoreApplicationReference.Destroy(this.InstallerReference);
this.InstallerReference = IntPtr.Zero;
}
}