SIPSorcery.SIP.SIPEndPoint.ParseSerialisedSIPEndPoint C# (CSharp) Méthode

ParseSerialisedSIPEndPoint() private static méthode

Reverses ToString().
private static ParseSerialisedSIPEndPoint ( string serialisedSIPEndPoint ) : SIPEndPoint
serialisedSIPEndPoint string The serialised SIP end point MUST be in the form protocol:socket and protocol must /// be exactly 3 characters. Valid examples are udp:10.0.0.1:5060, invalid example is 10.0.0.1:5060.
Résultat SIPEndPoint
        private static SIPEndPoint ParseSerialisedSIPEndPoint(string serialisedSIPEndPoint)
        {
            return new SIPEndPoint(SIPProtocolsType.GetProtocolType(serialisedSIPEndPoint.Substring(0, 3)), IPSocket.ParseSocketString(serialisedSIPEndPoint.Substring(4)));
        }