public static Core.IceServer ToNativePort(this IceServer platformNative)
        {
            var urlStrings     = platformNative.Urls.ToStringArray();
            var ellipticCurves = platformNative.TlsEllipticCurves.ToStringArray();
            var alpnProtocols  = platformNative.TlsAlpnProtocols.ToStringArray();

            foreach (var url in platformNative.Urls)
            {
                urlStrings.Append(url);
            }
            return(new Core.IceServer(urlStrings: urlStrings, username: platformNative.Username, credential: platformNative.Password, policy: platformNative.TlsCertPolicy.ToNativePort(), hostname: platformNative.Hostname, tlsEllipticCurves: ellipticCurves, tlsAlpnProtocols: alpnProtocols));
        }
        public static IceServer ToPlatformNative(this Core.IceServer nativePort)
        {
            var iceServer = IceServer.InvokeBuilder(nativePort.UrlStrings).SetTlsCertPolicy(nativePort.TlsCertPolicy.ToPlatformNative()).SetHostname(nativePort.Hostname).SetPassword(nativePort.Credential).SetTlsAlpnProtocols(nativePort.TlsAlpnProtocols).SetTlsEllipticCurves(nativePort.TlsEllipticCurves);

            return(iceServer.CreateIceServer());
        }