title: Read a Resourse file using Assembly GetManifestResourceStream method using C#
body: <p>I'm having a Certificate under root folder of the project. The Project name is SingleSignOn, but I can't able to read the method using the GetManifestResourceStream build-in method.</p>
  
  <p>The Source Code is </p>
  
  <pre><code>namespace SingleSignOn
  {
      public class Program
      {
          static void Main(string[] args)
           {
              var assembly = typeof(Program).Assembly;
              var super = assembly.GetManifestResourceNames();
              using (var stream = assembly.GetManifestResourceStream("SingleSignOn.idsrv3test.pfx"))
              {
  
              }
          }
      }
  }
  </code></pre>
  
  <p>Snap shot of Solution Explorer
  <a href="https://i.stack.imgur.com/QYUYM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QYUYM.jpg" alt="enter image description here"></a></p>
  
  <p>I'm getting <code>NULL</code> from the said built-in method <code>GetManifestResourceStream</code></p>
  
  <p><a href="https://i.stack.imgur.com/YsThe.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YsThe.jpg" alt="enter image description here"></a></p>
  
  <p>I don't know what I missed in this. The URL of the said Certificate is <a href="https://github.com/IdentityServer/IdentityServer3.Samples/blob/master/source/Certificates/idsrv3test.pfx" rel="nofollow noreferrer">https://github.com/IdentityServer/IdentityServer3.Samples/blob/master/source/Certificates/idsrv3test.pfx</a></p>
  
  <p>Kindly assist me how to read the Certificate.</p>