コード例 #1
0
 public static void Register()
 {
     HmacSha256ProviderFactory.Register(bytes => new HmacSha256Provider
     {
         Key = bytes
     });
 }
コード例 #2
0
 static HmacSha256Provider()
 {
     HmacSha256ProviderFactory.Register(bytes =>
     {
         return(new HmacSha256Provider
         {
             Key = bytes
         });
     });
 }