Skip to content

Commit 1d34289

Browse files
committed
Update to 1.0.2
1 parent cfda3a5 commit 1d34289

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.1.0")]
36-
[assembly: AssemblyFileVersion("1.0.1.0")]
35+
[assembly: AssemblyVersion("1.0.2.0")]
36+
[assembly: AssemblyFileVersion("1.0.2.0")]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ By default, Remote Desktop Connection (mstsc.exe) is not possible to backup the
1111
With RDP Portal, it is possible to save password and use it on any other Windows PCs.
1212

1313
## ⭐ Features
14-
- Save Password
1514
- Portable
16-
- Backup-able
15+
- Backup-able Saved Passwords
16+
- Same user experience while connected to your remote desktop.
1717
- The workflow is similar to WinSCP or HeidiSQL
1818

1919
## Download

src/MainForm.cs

+9-2
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,20 @@ private void buttonMoreOptions_Click(object sender, EventArgs e) {
7474

7575

7676
private void buttonConnect_Click(object sender, EventArgs e) {
77-
GetSelectedProfile().PrepareRdpFile();
77+
var profile = GetSelectedProfile();
78+
79+
if (String.IsNullOrWhiteSpace(profile.Computer) || String.IsNullOrWhiteSpace(profile.Computer)) {
80+
MessageBox.Show("Invalid connection");
81+
return;
82+
}
83+
84+
profile.PrepareRdpFile();
7885

7986
ProcessStartInfo startInfo = new ProcessStartInfo {
8087
CreateNoWindow = false,
8188
UseShellExecute = false,
8289
FileName = "mstsc.exe",
83-
Arguments = GetSelectedProfile().Filename,
90+
Arguments = profile.Filename,
8491
};
8592

8693
try {

0 commit comments

Comments
 (0)