You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PowerRemoteDesktop_Server/PowerRemoteDesktop_Server.psm1
+37-40
Original file line number
Diff line number
Diff line change
@@ -52,9 +52,9 @@
52
52
Add-Type-Assembly System.Windows.Forms
53
53
Add-Type-Assembly System.Drawing
54
54
Add-Type-MemberDefinition '[DllImport("gdi32.dll")] public static extern int GetDeviceCaps(IntPtr hdc, int nIndex);'-Name GDI32 -Namespace W;
55
-
Add-Type-MemberDefinition '[DllImport("User32.dll")] public static extern int GetDC(IntPtr hWnd);[DllImport("User32.dll")] public static extern int ReleaseDC(IntPtr hwnd, int hdc);'-Name User32 -Namespace W;
55
+
Add-Type-MemberDefinition '[DllImport("User32.dll")] public static extern int GetDC(IntPtr hWnd);[DllImport("User32.dll")] public static extern int ReleaseDC(IntPtr hwnd, int hdc);[DllImport("User32.dll")] public static extern bool SetProcessDPIAware();'-Name User32 -Namespace W;
56
56
57
-
$global:PowerRemoteDesktopVersion="1.0.beta.2"
57
+
$global:PowerRemoteDesktopVersion="1.0.beta.3"
58
58
59
59
enum TransportMode {
60
60
Raw =1
@@ -501,6 +501,24 @@ function Resolve-AuthenticationChallenge
Add-Type-MemberDefinition '[DllImport("gdi32.dll")] public static extern int GetDeviceCaps(IntPtr hdc, int nIndex);'-Name GDI32 -Namespace W;
54
+
Add-Type-MemberDefinition '[DllImport("User32.dll")] public static extern int GetDC(IntPtr hWnd);[DllImport("User32.dll")] public static extern int ReleaseDC(IntPtr hwnd, int hdc);[DllImport("User32.dll")] public static extern bool SetProcessDPIAware();'-Name User32 -Namespace W;
* Supports Keystrokes Simulation (Sending remote key strokes) and few useful shortcuts.
25
25
* Traffic is encrypted by default using TLSv1.2 and optionnally using TLSv1.3 (TLS 1.3 might not be possible on older systems).
@@ -220,7 +220,7 @@ Then pass the encoded string to parameter `EncodedCertificate`.
220
220
221
221
## Changelog
222
222
223
-
### 11 January 2021
223
+
### 11 January 2021 (1.0.1 Beta 2)
224
224
225
225
* Desktop images are now transported in raw bytes instead of base64 string thus slightly improving performances. Base64 Transport Method is still available through an option but disabled by default.
226
226
* Protocol has drastically changed. It is smoother to read and less prone to errors.
@@ -230,6 +230,10 @@ Then pass the encoded string to parameter `EncodedCertificate`.
230
230
* Possibility to disable verbose.
231
231
* Server & Viewer version synchronization. Same version must be used between the two.
232
232
233
+
### 12 January 2021 (1.0.2 Beta 3)
234
+
235
+
* HDPI is completely supported.
236
+
233
237
### List of ideas and TODO
234
238
235
239
* 🟢 Do a deep investigation about SecureString and if it applies to current project (to protect password)
@@ -243,7 +247,6 @@ Then pass the encoded string to parameter `EncodedCertificate`.
243
247
* 🟠 Server Concurrency.
244
248
* 🟠 Listen for local/remote screen resolution update event.
245
249
* 🟠 Multiple Monitor Support.
246
-
* 🟠 Improve HDPI Scaling / Quality.
247
250
* 🔴 Motion Update for Desktop Streaming (Only send and update changing parts of desktop).
0 commit comments