Goedel.Mesh.PasswordProfile.GetEntry C# (CSharp) Method

GetEntry() public method

Find the entry for a given site.
public GetEntry ( string Site, string &Username, string &Password ) : bool
Site string The site details are looked for
Username string Username (null if not found)
Password string Password (null if not found)
return bool
        public bool GetEntry(
            string Site, out string Username, out string Password) {

            var Entry = Get(Site);
            if (Entry == null) {
                Username = null;
                Password = null;
                return false ;
                }

            Username = Entry.Username;
            Password = Entry.Password;
            return true;
            }