title: Sign or password any exe in c#
body: <p>I have executables written in C#.  I want to try this situation on my windows service.  Normally we started the executable in our program using the code below:</p>
  
  <pre><code>Process process = new Process(); 
  process.StartInfo.FileName = applicationpathandname.exe; 
  process.Start();
  </code></pre>
  
  <p>I want to compare my executable for sign or password before i start it.  If the sign or password doesn't match it should exit the main program in the Windows service.  So my pseudocode would be like this:</p>
  
  <pre><code>*/load exe
  */compare sign or password of my assembly
  */if match start exe 
  */else exit main program
  </code></pre>
  
  <p>In effect, I have two questions:</p>
  
  <ol>
  <li>Can I sign or password protect any executable or assembly?</li>
  <li>Can I reach that sign or password executable in my other C#
  program?</li>
  </ol>