Plugin.SecureStorage.SecureStorageImplementation.GetRecord C# (CSharp) Method

GetRecord() private method

Retreives record from the store
private GetRecord ( string key, SecStatusCode &ssc ) : SecRecord
key string Key.
ssc SecStatusCode Ssc.
return SecRecord
        private SecRecord GetRecord(string key, out SecStatusCode ssc)
        {
            // create an instance of the record to query
            var sr = new SecRecord(SecKind.GenericPassword);
            sr.Account = key;
            return SecKeyChain.QueryAsRecord(sr, out ssc);
        }