GitCommands.GitModule.StartPageantForRemote C# (CSharp) Method

StartPageantForRemote() public method

Tries to start Pageant for the specified remote repo (using the remote's PuTTY key file).
public StartPageantForRemote ( string remote ) : bool
remote string
return bool
        public bool StartPageantForRemote(string remote)
        {
            var sshKeyFile = GetPuttyKeyFileForRemote(remote);
            if (string.IsNullOrEmpty(sshKeyFile) || !File.Exists(sshKeyFile))
                return false;

            StartPageantWithKey(sshKeyFile);
            return true;
        }
GitModule