using Microsoft . Win32;
RegistryKey vRegistryKey =
Registry . ClassesRoot . OpenSubKey( @".wmv" );
if (vRegistryKey == null ) return ;
vRegistryKey = Registry . ClassesRoot . OpenSubKey(
vRegistryKey . GetValue( "" ) . ToString() + @"\shell\open\command" );
if (vRegistryKey == null ) return ;
MessageBox . Show(vRegistryKey . GetValue( "" ) . ToString());