From 60fe58a407743764edc83c3d3fedcea1a3d1469b Mon Sep 17 00:00:00 2001 From: James Forshaw Date: Tue, 30 Apr 2019 15:11:08 -0700 Subject: [PATCH] Updated to v1.8. --- OleViewDotNet.Main/COMUtilities.cs | 2 +- OleViewDotNet.Main/OleViewDotNet.Main.csproj | 12 +- OleViewDotNet.Main/Properties/AssemblyInfo.cs | 2 +- .../Properties/Resources.Designer.cs | 63 --------- OleViewDotNet.Main/Properties/Resources.resx | 120 ------------------ .../OleViewDotNet.PowerShell.csproj | 6 +- OleViewDotNet.PowerShell/OleViewDotNet.psd1 | 9 +- .../Properties/AssemblyInfo.cs | 2 +- 8 files changed, 11 insertions(+), 205 deletions(-) delete mode 100644 OleViewDotNet.Main/Properties/Resources.Designer.cs delete mode 100644 OleViewDotNet.Main/Properties/Resources.resx diff --git a/OleViewDotNet.Main/COMUtilities.cs b/OleViewDotNet.Main/COMUtilities.cs index 46fc5bcc..338a2265 100644 --- a/OleViewDotNet.Main/COMUtilities.cs +++ b/OleViewDotNet.Main/COMUtilities.cs @@ -739,7 +739,7 @@ public static IEnumerable ReadValueNames(this RegistryKey rootKey, strin public static COMRegistryEntrySource GetSource(this RegistryKey key) { - using (NtKey native_key = NtKey.FromHandle(key.Handle.DangerousGetHandle())) + using (NtKey native_key = NtKey.FromHandle(key.Handle.DangerousGetHandle(), false)) { string full_path = native_key.FullPath; if (full_path.StartsWith(@"\Registry\Machine\", StringComparison.OrdinalIgnoreCase)) diff --git a/OleViewDotNet.Main/OleViewDotNet.Main.csproj b/OleViewDotNet.Main/OleViewDotNet.Main.csproj index 4beb6e43..5ce206c1 100644 --- a/OleViewDotNet.Main/OleViewDotNet.Main.csproj +++ b/OleViewDotNet.Main/OleViewDotNet.Main.csproj @@ -75,7 +75,7 @@ True - ..\packages\NtApiDotNet.1.1.21\lib\net45\NtApiDotNet.dll + ..\packages\NtApiDotNet.1.1.22\lib\net45\NtApiDotNet.dll @@ -437,19 +437,9 @@ ObjectInformation.cs - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - ROTViewer.cs - - True - Resources.resx - True - TypeLibControl.cs diff --git a/OleViewDotNet.Main/Properties/AssemblyInfo.cs b/OleViewDotNet.Main/Properties/AssemblyInfo.cs index 29d75079..3c941318 100644 --- a/OleViewDotNet.Main/Properties/AssemblyInfo.cs +++ b/OleViewDotNet.Main/Properties/AssemblyInfo.cs @@ -16,4 +16,4 @@ [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.7")] +[assembly: AssemblyInformationalVersion("1.8")] diff --git a/OleViewDotNet.Main/Properties/Resources.Designer.cs b/OleViewDotNet.Main/Properties/Resources.Designer.cs deleted file mode 100644 index 482978a5..00000000 --- a/OleViewDotNet.Main/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -namespace OleViewDotNet.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // 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. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OleViewDotNet.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/OleViewDotNet.Main/Properties/Resources.resx b/OleViewDotNet.Main/Properties/Resources.resx deleted file mode 100644 index 1af7de15..00000000 --- a/OleViewDotNet.Main/Properties/Resources.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/OleViewDotNet.PowerShell/OleViewDotNet.PowerShell.csproj b/OleViewDotNet.PowerShell/OleViewDotNet.PowerShell.csproj index 80a10fbf..51b00e22 100644 --- a/OleViewDotNet.PowerShell/OleViewDotNet.PowerShell.csproj +++ b/OleViewDotNet.PowerShell/OleViewDotNet.PowerShell.csproj @@ -31,7 +31,7 @@ - ..\packages\NtApiDotNet.1.1.21\lib\net45\NtApiDotNet.dll + ..\packages\NtApiDotNet.1.1.22\lib\net45\NtApiDotNet.dll @@ -65,7 +65,9 @@ Always - + + Designer + Always diff --git a/OleViewDotNet.PowerShell/OleViewDotNet.psd1 b/OleViewDotNet.PowerShell/OleViewDotNet.psd1 index d8969822..8a701e33 100644 --- a/OleViewDotNet.PowerShell/OleViewDotNet.psd1 +++ b/OleViewDotNet.PowerShell/OleViewDotNet.psd1 @@ -20,7 +20,7 @@ RootModule = 'OleViewDotNet.psm1' # Version number of this module. -ModuleVersion = '1.7' +ModuleVersion = '1.8' # Supported PSEditions # CompatiblePSEditions = @() @@ -88,12 +88,9 @@ PrivateData = @{ ProjectUri = 'https://github.com/tyranid/oleviewdotnet' # ReleaseNotes of this module - ReleaseNotes = 'v1.7 + ReleaseNotes = 'v1.8 ---- -* Added parsing of activation contexts. -* Added simple auto-save/auto-load functionality for the GUI. -* Added Get-ComProgId function. -* Added source information for inbuilt classes. +* Added basic proxy to interface generation. ' } # End of PSData hashtable diff --git a/OleViewDotNet.PowerShell/Properties/AssemblyInfo.cs b/OleViewDotNet.PowerShell/Properties/AssemblyInfo.cs index 9a5b2817..5cb5ac47 100644 --- a/OleViewDotNet.PowerShell/Properties/AssemblyInfo.cs +++ b/OleViewDotNet.PowerShell/Properties/AssemblyInfo.cs @@ -16,4 +16,4 @@ [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.7")] \ No newline at end of file +[assembly: AssemblyInformationalVersion("1.8")] \ No newline at end of file