GitCommands.GitCommands.GetPuttyKeyFileForRemote C# (CSharp) Method

GetPuttyKeyFileForRemote() public static method

public static GetPuttyKeyFileForRemote ( string remote ) : string
remote string
return string
        public static string GetPuttyKeyFileForRemote(string remote)
        {
            if (string.IsNullOrEmpty(remote) ||
                string.IsNullOrEmpty(Settings.Pageant) ||
                !Settings.AutoStartPageant ||
                !Plink())
                return "";

            return GetSetting("remote." + remote + ".puttykeyfile");
        }
GitCommands