/// <summary> /// Gets the CLSID value of the specified <see cref="PropertyKey"/> /// </summary> /// <param name="key">The property being requested</param> /// <returns>The requested CLSID</returns> public Guid GetCLSID(PropertyKey key) { IntPtr ppg; byte[] data = new byte[16]; _pItem.GetCLSID(key.MarshalledPointer, out ppg); Marshal.Copy(ppg, data, 0, 16); Marshal.FreeCoTaskMem(ppg); return(new Guid(data)); }