ADL.AuthDetails.toNative C# (CSharp) Method

toNative() private method

private toNative ( ) : ADLAuthDetails
return ADLAuthDetails
        internal ADLAuthDetails toNative()
        {
            var aad = new ADLAuthDetails();
            aad.expires = expires;
            aad.userId = userId;
            aad.salt = StringHelper.toNative(salt);
            aad.signature = StringHelper.toNative(signature);
            return aad;
        }

Usage Example

Example #1
0
        internal ADLConnectionDescription toNative()
        {
            var cd = new ADLConnectionDescription();

            cd.autopublishAudio = autopublishAudio;
            cd.autopublishVideo = autopublishVideo;
            cd.scopeId          = StringHelper.toNative(scopeId);
            cd.url         = StringHelper.toNative(url);
            cd.authDetails = authDetails.toNative();
            cd.videoStream = videoStream.toNative();
            return(cd);
        }