Automobile.Mobile.iOS.Automation.iOSWebClient.CanAuthenticateAgainstProtectionSpace C# (CSharp) Méthode

CanAuthenticateAgainstProtectionSpace() public méthode

Tells the connection it can authenticate
public CanAuthenticateAgainstProtectionSpace ( NSUrlConnection connection, NSUrlProtectionSpace protectionSpace ) : bool
connection NSUrlConnection
protectionSpace NSUrlProtectionSpace
Résultat bool
        public override bool CanAuthenticateAgainstProtectionSpace(NSUrlConnection connection, NSUrlProtectionSpace protectionSpace)
        {
            return protectionSpace.AuthenticationMethod == NSUrlProtectionSpace.AuthenticationMethodServerTrus;
        }