Update to 1.0.2

This commit is contained in:
Louis Lam 2022-10-29 16:47:01 +08:00
parent cfda3a559d
commit 1d342897ab
3 changed files with 13 additions and 6 deletions

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.0")] [assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.1.0")] [assembly: AssemblyFileVersion("1.0.2.0")]

View File

@ -11,9 +11,9 @@ By default, Remote Desktop Connection (mstsc.exe) is not possible to backup the
With RDP Portal, it is possible to save password and use it on any other Windows PCs. With RDP Portal, it is possible to save password and use it on any other Windows PCs.
## ⭐ Features ## ⭐ Features
- Save Password
- Portable - Portable
- Backup-able - Backup-able Saved Passwords
- Same user experience while connected to your remote desktop.
- The workflow is similar to WinSCP or HeidiSQL - The workflow is similar to WinSCP or HeidiSQL
## Download ## Download

View File

@ -74,13 +74,20 @@ namespace RDP_Portal {
private void buttonConnect_Click(object sender, EventArgs e) { private void buttonConnect_Click(object sender, EventArgs e) {
GetSelectedProfile().PrepareRdpFile(); var profile = GetSelectedProfile();
if (String.IsNullOrWhiteSpace(profile.Computer) || String.IsNullOrWhiteSpace(profile.Computer)) {
MessageBox.Show("Invalid connection");
return;
}
profile.PrepareRdpFile();
ProcessStartInfo startInfo = new ProcessStartInfo { ProcessStartInfo startInfo = new ProcessStartInfo {
CreateNoWindow = false, CreateNoWindow = false,
UseShellExecute = false, UseShellExecute = false,
FileName = "mstsc.exe", FileName = "mstsc.exe",
Arguments = GetSelectedProfile().Filename, Arguments = profile.Filename,
}; };
try { try {