dlech.SshAgentLib.Agent.ListKeys C# (CSharp) Method

ListKeys() public method

public ListKeys ( SshVersion aVersion ) : ICollection
aVersion SshVersion
return ICollection
        public ICollection<ISshKey> ListKeys(SshVersion aVersion)
        {
            if (IsLocked) {
            return new List<ISshKey>();
              }
              return mKeyList.Where(key => key.Version == aVersion).ToList();
        }