How to create dogecoin mainnet address (which starts with the letter “D”)? (NBitcoin)

I use NBitcoin library:

byte[] publicKeyXy; // here defined pubkey
var pubKey = new PubKey(publicKeyXy).Compress(true);
var address = pubKey.WitHash.ScriptPubKey.Hash.GetAddress(Network.GetNetwork("doge-main")).ToString();

But this address starts with “A”, “1” and other. How to create address with prefix “D”? Where is defined standard?

Read More