Hadi Jami

Hadi Jami

  • NA
  • 8
  • 0

How to change pnrp.net peer name resolver to custom domain?

May 10 2019 1:43 AM
I want to create peer to peer software with WCF as peer name resolver service. When I create a peer name and register it, I've URL like [anewpeername].pnrp.net.
  1. var peerName = new PeerName("anewpeername", PeerNameType.Unsecured);  
  2. var pnReg = new PeerNameRegisteration();  
  3. pnReg.PeerName = peerName;  
  4. pnReg.Port = 5474;  
  5. pnReg.Start();   
 
Now, peer URL is [anewpeername.pnrp.net].
I need change default peer name resolver domain||server [pnrp.net] to my own domain||server.
My question is about how to change a pnrp.net peer name resolver domain to custom peer name resolver domain?
Example:
[anewpeername.pnrp.net] change to [anewpeername.example.com].
Thank you.