title: How to import an .snk file generated with sn.exe in .NET?
body: <p>I have created a key file with this command:</p>
  
  <pre>
  <code>
   sn.exe -k 2048 Build.snk
  </code>
  </pre>
  
  <p>I would like to read in this key with .NET.  I haven't been able to find any document as to the format of the .snk, so I'm wondering if there's a way in C# to read in an .snk file?</p>
  
  <p>My original reason for asking the question was to use the .snk file for purposes other than signing an assembly.  As one of the answers states below, the purpose of .snk files is really just for signing assemblies.</p>