SIP .NET > Tutorial > Register - Advanced method

Here we use Register class and method SendRequest to register to sip server. With Register class developer has possibility to set standard and custom headers for register request. In this example Bob's registration will expire after 1 hour ( 3600 seconds ). Bob wants to accept only requests from user with address, other requests he will reject.

C# example
VB example