-1

On ASP.NET C# site need to generate Azure V3 tokens on the fly for premium CDN token authentication. Is the any API or some tool for that?

N.D.B
  • 443
  • 7
  • 25

1 Answers1

0

Found a Nugget for that.

Sample use:

const string PRIMARY_KEY = "abcd1234";

var generator = new ecencryptstdlib.ECTokenGenerator();

string token = generator.EncryptV3(PRIMARY_KEY, DateTime.Now.AddDays(1));
N.D.B
  • 443
  • 7
  • 25