Skip to content

Instantly share code, notes, and snippets.

@yaronn
Created October 16, 2014 18:39
Show Gist options
  • Save yaronn/293b39502b1c466afe26 to your computer and use it in GitHub Desktop.
Save yaronn/293b39502b1c466afe26 to your computer and use it in GitHub Desktop.
c# convert x509 certificate issuer serial from decimal to hex
var z = System.Numerics.BigInteger.Parse("1248141336554058010539064411039");
var x = z.ToString("X4");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment