Skip to content

Commit

Permalink
Update to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Oct 29, 2022
1 parent cfda3a5 commit 1d34289
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## ⭐ Features
- Save Password
- Portable
- Backup-able
- Backup-able Saved Passwords
- Same user experience while connected to your remote desktop.
- The workflow is similar to WinSCP or HeidiSQL

## Download
Expand Down
11 changes: 9 additions & 2 deletions src/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,20 @@ private void buttonMoreOptions_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 {
CreateNoWindow = false,
UseShellExecute = false,
FileName = "mstsc.exe",
Arguments = GetSelectedProfile().Filename,
Arguments = profile.Filename,
};

try {
Expand Down

0 comments on commit 1d34289

Please sign in to comment.