public static bool AskForCacheHostkey(IWin32Window owner, string remoteUrl) { if (!string.IsNullOrEmpty(remoteUrl) && MessageBoxes.CacheHostkey(owner)) { return(new Plink().Connect(remoteUrl)); } return(false); }
public static bool AskForCacheHostkey(IWin32Window owner, string remoteUrl) { if (!string.IsNullOrEmpty(remoteUrl) && MessageBoxes.CacheHostkey(owner)) { return(new Plink().Connect(remoteUrl)); } return(false); }