mirror of
				https://github.com/kimmknight/remoteapptool.git
				synced 2025-10-31 20:52:03 +00:00 
			
		
		
		
	 859ac87c17
			
		
	
	859ac87c17
	
	
	
		
			
			Fix Issue 4 * Added in library for signing the generated RDP file * Library requires the certificate to have a friendly name for it to show up in the drop down. No friendly name, no certificate in dropdown * Library detects the rdpsign.exe version to determine proper arguments (/sha1 or /sha256) * Updated RemoteApp Tool to use new library and sign the RDP file after it is created * Added in logic around the signing to prevent editing after creating the RDP file if signed * Library allows for creating an unsigned backup along with the signed version, added ability to do the same in RemoteApp Tool * Updated RemoteApp tool to use Visual Studio 2019, but allows for support back to some pervious versions * Tested on Windows 10 and Windows Server 2008 R2 and was successful on both
		
			
				
	
	
		
			64 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			VB.net
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			VB.net
		
	
	
	
	
	
| '------------------------------------------------------------------------------
 | |
| ' <auto-generated>
 | |
| '     This code was generated by a tool.
 | |
| '     Runtime Version:4.0.30319.42000
 | |
| '
 | |
| '     Changes to this file may cause incorrect behavior and will be lost if
 | |
| '     the code is regenerated.
 | |
| ' </auto-generated>
 | |
| '------------------------------------------------------------------------------
 | |
| 
 | |
| Option Strict On
 | |
| Option Explicit On
 | |
| 
 | |
| Imports System
 | |
| 
 | |
| Namespace My.Resources
 | |
|     
 | |
|     'This class was auto-generated by the StronglyTypedResourceBuilder
 | |
|     'class via a tool like ResGen or Visual Studio.
 | |
|     'To add or remove a member, edit your .ResX file then rerun ResGen
 | |
|     'with the /str option, or rebuild your VS project.
 | |
|     '''<summary>
 | |
|     '''  A strongly-typed resource class, for looking up localized strings, etc.
 | |
|     '''</summary>
 | |
|     <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0"),  _
 | |
|      Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
 | |
|      Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(),  _
 | |
|      Global.Microsoft.VisualBasic.HideModuleNameAttribute()>  _
 | |
|     Friend Module Resources
 | |
|         
 | |
|         Private resourceMan As Global.System.Resources.ResourceManager
 | |
|         
 | |
|         Private resourceCulture As Global.System.Globalization.CultureInfo
 | |
|         
 | |
|         '''<summary>
 | |
|         '''  Returns the cached ResourceManager instance used by this class.
 | |
|         '''</summary>
 | |
|         <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
 | |
|         Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
 | |
|             Get
 | |
|                 If Object.ReferenceEquals(resourceMan, Nothing) Then
 | |
|                     Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("RDPSign.Resources", GetType(Resources).Assembly)
 | |
|                     resourceMan = temp
 | |
|                 End If
 | |
|                 Return resourceMan
 | |
|             End Get
 | |
|         End Property
 | |
|         
 | |
|         '''<summary>
 | |
|         '''  Overrides the current thread's CurrentUICulture property for all
 | |
|         '''  resource lookups using this strongly typed resource class.
 | |
|         '''</summary>
 | |
|         <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)>  _
 | |
|         Friend Property Culture() As Global.System.Globalization.CultureInfo
 | |
|             Get
 | |
|                 Return resourceCulture
 | |
|             End Get
 | |
|             Set
 | |
|                 resourceCulture = value
 | |
|             End Set
 | |
|         End Property
 | |
|     End Module
 | |
| End Namespace
 |