@@ -669,28 +669,52 @@ namespace NativeMsh
669
669
// NOTE: The names must not include the .dll extension because it will be added programmatically.
670
670
static PCSTR trustedAssemblies[] =
671
671
{
672
+ " Microsoft.ApplicationInsights" ,
673
+ " Microsoft.CodeAnalysis" ,
674
+ " Microsoft.CodeAnalysis.CSharp" ,
672
675
" Microsoft.CSharp" ,
676
+ " Microsoft.Management.Infrastructure" ,
677
+ " Microsoft.Management.Infrastructure.CimCmdlets" ,
678
+ " Microsoft.Management.Infrastructure.Native" ,
679
+ " Microsoft.PowerShell.Commands.Diagnostics" ,
680
+ " Microsoft.PowerShell.Commands.Management" ,
681
+ " Microsoft.PowerShell.Commands.Utility" ,
682
+ " Microsoft.PowerShell.ConsoleHost" ,
683
+ " Microsoft.PowerShell.CoreCLR.AssemblyLoadContext" ,
684
+ " Microsoft.PowerShell.CoreCLR.Eventing" ,
685
+ " Microsoft.PowerShell.LocalAccounts" ,
686
+ " Microsoft.PowerShell.PSReadLine" ,
687
+ " Microsoft.PowerShell.SDK" ,
688
+ " Microsoft.PowerShell.Security" ,
673
689
" Microsoft.VisualBasic" ,
674
690
" Microsoft.Win32.Primitives" ,
675
- " Microsoft.Win32.Registry.AccessControl" ,
676
691
" Microsoft.Win32.Registry" ,
692
+ " Microsoft.Win32.Registry.AccessControl" ,
693
+ " Microsoft.WSMan.Management" ,
694
+ " Microsoft.WSMan.Runtime" ,
677
695
" mscorlib" ,
696
+ " netstandard" ,
697
+ " Newtonsoft.Json" ,
698
+ " System" ,
678
699
" System.AppContext" ,
679
700
" System.Buffers" ,
680
- " System.Collections.Concurrent" ,
681
701
" System.Collections" ,
702
+ " System.Collections.Concurrent" ,
682
703
" System.Collections.Immutable" ,
683
704
" System.Collections.NonGeneric" ,
684
705
" System.Collections.Specialized" ,
706
+ " System.ComponentModel" ,
685
707
" System.ComponentModel.Annotations" ,
708
+ " System.ComponentModel.Composition" ,
686
709
" System.ComponentModel.DataAnnotations" ,
687
- " System.ComponentModel" ,
688
710
" System.ComponentModel.EventBasedAsync" ,
689
711
" System.ComponentModel.Primitives" ,
690
712
" System.ComponentModel.TypeConverter" ,
691
713
" System.Console" ,
692
714
" System.Core" ,
715
+ " System.Data" ,
693
716
" System.Data.Common" ,
717
+ " System.Data.SqlClient" ,
694
718
" System.Diagnostics.Contracts" ,
695
719
" System.Diagnostics.Debug" ,
696
720
" System.Diagnostics.DiagnosticSource" ,
@@ -701,19 +725,22 @@ namespace NativeMsh
701
725
" System.Diagnostics.Tools" ,
702
726
" System.Diagnostics.TraceSource" ,
703
727
" System.Diagnostics.Tracing" ,
704
- " System" ,
728
+ " System.Drawing" ,
729
+ " System.Drawing.Primitives" ,
705
730
" System.Dynamic.Runtime" ,
706
- " System.Globalization.Calendars" ,
707
731
" System.Globalization" ,
732
+ " System.Globalization.Calendars" ,
708
733
" System.Globalization.Extensions" ,
734
+ " System.IO" ,
709
735
" System.IO.Compression" ,
736
+ " System.IO.Compression.FileSystem" ,
710
737
" System.IO.Compression.ZipFile" ,
711
- " System.IO" ,
712
- " System.IO.FileSystem.AccessControl" ,
713
738
" System.IO.FileSystem" ,
739
+ " System.IO.FileSystem.AccessControl" ,
714
740
" System.IO.FileSystem.DriveInfo" ,
715
741
" System.IO.FileSystem.Primitives" ,
716
742
" System.IO.FileSystem.Watcher" ,
743
+ " System.IO.IsolatedStorage" ,
717
744
" System.IO.MemoryMappedFiles" ,
718
745
" System.IO.Packaging" ,
719
746
" System.IO.Pipes" ,
@@ -722,28 +749,36 @@ namespace NativeMsh
722
749
" System.Linq.Expressions" ,
723
750
" System.Linq.Parallel" ,
724
751
" System.Linq.Queryable" ,
752
+ " System.Management.Automation" ,
725
753
" System.Net" ,
726
754
" System.Net.Http" ,
727
755
" System.Net.Http.WinHttpHandler" ,
756
+ " System.Net.HttpListener" ,
757
+ " System.Net.Mail" ,
728
758
" System.Net.NameResolution" ,
729
759
" System.Net.NetworkInformation" ,
730
760
" System.Net.Ping" ,
731
761
" System.Net.Primitives" ,
732
762
" System.Net.Requests" ,
733
763
" System.Net.Security" ,
764
+ " System.Net.ServicePoint" ,
734
765
" System.Net.Sockets" ,
766
+ " System.Net.WebClient" ,
735
767
" System.Net.WebHeaderCollection" ,
736
- " System.Net.WebSockets.Client " ,
768
+ " System.Net.WebProxy " ,
737
769
" System.Net.WebSockets" ,
770
+ " System.Net.WebSockets.Client" ,
738
771
" System.Numerics" ,
739
772
" System.Numerics.Vectors" ,
740
773
" System.ObjectModel" ,
741
774
" System.Private.CoreLib" ,
742
775
" System.Private.DataContractSerialization" ,
743
776
" System.Private.ServiceModel" ,
744
777
" System.Private.Uri" ,
745
- " System.Reflection.DispatchProxy" ,
778
+ " System.Private.Xml" ,
779
+ " System.Private.Xml.Linq" ,
746
780
" System.Reflection" ,
781
+ " System.Reflection.DispatchProxy" ,
747
782
" System.Reflection.Emit" ,
748
783
" System.Reflection.Emit.ILGeneration" ,
749
784
" System.Reflection.Emit.Lightweight" ,
@@ -753,15 +788,18 @@ namespace NativeMsh
753
788
" System.Reflection.TypeExtensions" ,
754
789
" System.Resources.Reader" ,
755
790
" System.Resources.ResourceManager" ,
756
- " System.Runtime.CompilerServices.VisualC " ,
791
+ " System.Resources.Writer " ,
757
792
" System.Runtime" ,
793
+ " System.Runtime.CompilerServices.VisualC" ,
758
794
" System.Runtime.Extensions" ,
759
795
" System.Runtime.Handles" ,
760
796
" System.Runtime.InteropServices" ,
761
797
" System.Runtime.InteropServices.RuntimeInformation" ,
798
+ " System.Runtime.InteropServices.WindowsRuntime" ,
762
799
" System.Runtime.Loader" ,
763
800
" System.Runtime.Numerics" ,
764
801
" System.Runtime.Serialization" ,
802
+ " System.Runtime.Serialization.Formatters" ,
765
803
" System.Runtime.Serialization.Json" ,
766
804
" System.Runtime.Serialization.Primitives" ,
767
805
" System.Runtime.Serialization.Xml" ,
@@ -778,29 +816,33 @@ namespace NativeMsh
778
816
" System.Security.Principal" ,
779
817
" System.Security.Principal.Windows" ,
780
818
" System.Security.SecureString" ,
781
- " System.ServiceModel" ,
782
819
" System.ServiceModel.Duplex" ,
783
820
" System.ServiceModel.Http" ,
784
821
" System.ServiceModel.NetTcp" ,
785
822
" System.ServiceModel.Primitives" ,
786
823
" System.ServiceModel.Security" ,
787
824
" System.ServiceModel.Web" ,
788
825
" System.ServiceProcess.ServiceController" ,
789
- " System.Text.Encoding.CodePages" ,
790
826
" System.Text.Encoding" ,
827
+ " System.Text.Encoding.CodePages" ,
791
828
" System.Text.Encoding.Extensions" ,
792
829
" System.Text.Encodings.Web" ,
793
830
" System.Text.RegularExpressions" ,
794
- " System.Threading.AccessControl" ,
795
831
" System.Threading" ,
832
+ " System.Threading.AccessControl" ,
796
833
" System.Threading.Overlapped" ,
797
- " System.Threading.Tasks.Dataflow" ,
798
834
" System.Threading.Tasks" ,
835
+ " System.Threading.Tasks.Dataflow" ,
799
836
" System.Threading.Tasks.Extensions" ,
800
837
" System.Threading.Tasks.Parallel" ,
801
838
" System.Threading.Thread" ,
802
839
" System.Threading.ThreadPool" ,
803
840
" System.Threading.Timer" ,
841
+ " System.Transactions" ,
842
+ " System.Transactions.Local" ,
843
+ " System.ValueTuple" ,
844
+ " System.Web" ,
845
+ " System.Web.HttpUtility" ,
804
846
" System.Windows" ,
805
847
" System.Xml" ,
806
848
" System.Xml.Linq" ,
@@ -810,9 +852,7 @@ namespace NativeMsh
810
852
" System.Xml.XmlDocument" ,
811
853
" System.Xml.XmlSerializer" ,
812
854
" System.Xml.XPath" ,
813
- " System.Xml.XPath.XDocument" ,
814
- " System.Xml.XPath.XmlDocument" ,
815
- " Microsoft.PowerShell.CoreCLR.AssemblyLoadContext"
855
+ " System.Xml.XPath.XDocument"
816
856
};
817
857
818
858
// Define the function pointer for the CLR entry point
0 commit comments