if (32BitProcess) { descricaoArquivo = Process.MainModule.FileVersionInfo.FileDescription; nomePrograma = Process.MainModule.FileVersionInfo.ProductName; } else { nomePrograma = Path.GetFileNameWithoutExtension(Assembly.GetEntryAssembly().Location); descricaoArquivo = Path.GetFileNameWithoutExtension(Assembly.GetEntryAssembly().FullName); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)