コード例 #1
0
        public void CreateSharedWebCredentialPassword()
        {
            TestRuntime.AssertSystemVersion(ApplePlatform.iOS, 8, 0, throwIfOtherPlatform: false);

            var pwd = SecSharedCredential.CreateSharedWebCredentialPassword();

            Assert.IsNotNull(pwd);
        }
コード例 #2
0
        public void CreateSharedWebCredentialPassword()
        {
            if (!TestRuntime.CheckSystemAndSDKVersion(8, 0))
            {
                Assert.Ignore("Ignoring CreateSharedWebCredentialPassword test: Requires iOS8+");
            }

            var pwd = SecSharedCredential.CreateSharedWebCredentialPassword();

            Assert.IsNotNull(pwd);
        }