rendered paste bodystring request = "<s:Envelope
xmlns:s=http://schemas.xmlsoap.org/soap/envelope/
s:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ >
<s:Body>
<u:AddPortMapping
xmlns:u=urn:schemas-upnp-org:service:WANIPConnection:1″>
<NewRemoteHost></NewRemoteHost>
<NewExternalPort>27360</NewExternalPort>
<NewProtocol>UDP</NewProtocol>
<NewInternalPort>8615</NewInternalPort>
<NewInternalClient>192.168.1.101</NewInternalClient>
<NewEnabled>1</NewEnabled>
<NewPortMappingDescription>msmsgs (192.168.1.101:8615) 27360
UDP</NewPortMappingDescription>
<NewLeaseDuration>0</NewLeaseDuration>
</u:AddPortMapping>
</s:Body>
</s:Envelope>"
HttpWebRequest HttpWReq = null;
HttpWReq = (HttpWebRequest)WebRequest.Create(url);
HttpWReq.Method = "POST";
HttpWReq.ContentType= "text/xml";
HttpWReq.ContentLength = request.Length;
StreamWriter reqWrite = new StreamWriter(HttpWReq.GetRequestStream(), System.Text.Encoding.Default);
reqWrite.Write(request);
reqWrite.Flush();
reqWrite.Close();