private static string LoadMasterPublicKeyFromResources()

in net/JetBrains.DownloadPgpVerifier/src/PgpSignaturesVerifier.cs [225:233]


    private static string LoadMasterPublicKeyFromResources()
    {
      var type = typeof(PgpSignaturesVerifier);
      return type.Assembly.OpenStreamFromResource(type.Namespace + ".Resources.real-master-public-key.asc", stream =>
        {
          using var reader = new StreamReader(stream, Encoding.ASCII);
          return reader.ReadToEnd();
        });
    }