dahall
5f52aa7820
Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes.
2022-01-16 17:22:34 -07:00
dahall
5cd53d5c7b
Extended IntPtr.Write(object value...) method to handle almost all cases of object types (arrays, lists, etc.)
2021-01-11 11:22:39 -07:00
dahall
d1116ce1c4
Fix multiple build warnings
2020-11-13 09:54:44 -07:00
dahall
721f6d14e6
Removed all Framework entries from unit test project files and into root Directory.Build.props
2020-11-12 22:38:00 -07:00
dahall
8686a6723d
Updated project and build files for 3.2.18. Converted all project files to new SDK format.
2020-10-21 08:27:54 -06:00
dahall
7f2c2a6df3
Added `Vanara.Collections.History` class
2020-09-22 13:57:52 -06:00
dahall
37e78ae321
Fixed code causing warnings during Debug build
2020-09-19 08:47:48 -06:00
NN
80bfe2ce20
Call to closeMethod in GenericSafeHandle. ( #161 )
2020-08-27 10:25:14 -06:00
David Hall
26f61b9189
Merge pull request #142 from NN---/getiptable_raw
...
Add zero copy GetIpNetTable2.
2020-07-12 08:30:02 -06:00
NN
bc139f52a7
Add zero copy GetIpNetTable2.
2020-07-12 10:09:39 +03:00
dahall
2348a4f3e7
Fixed test ToIEnumTest that had failing condition
2020-07-11 16:27:16 -06:00
dahall
fdcd7e93a1
Updated NuGet packages
2020-06-11 11:52:26 -06:00
dahall
4216d271d9
Added new SafeMemStruct class that wraps a structure into memory with Span support. Added assoc. unit test.
2020-05-14 17:56:28 -06:00
dahall
8ab0e57f17
Fixed unit test projects after intro of Directory.Build.Props
2020-04-13 14:24:28 -06:00
dahall
c0ff453a20
Moved much of the individual project file detail to root Directory.Build.* files for consistency. Fixed build errors due to bad or missing project tags. Cleaned up project files.
2020-04-03 14:51:10 -06:00
David Hall
159f1c8235
Added EnumInheritance and InheritsFrom extension methods.
2019-12-06 17:09:08 -07:00
David Hall
a94e60820b
Reworked memory manipulation functions in InteropExtensions and IntPtrConverter to use new marshaling directives and to drive consistency of use across libs (i.e. call same method to do same work).
2019-11-19 12:52:44 -07:00
David Hall
4451258143
ADDED: Support for .NET Core 3.0 in all projects!!
...
Updated project files to version 3.1.0, changed icon to embedded NuGet resource rather than link, consolidated dependency conditions in project files, and updated all NuGet dependencies.
2019-10-03 13:35:16 -06:00
David Hall
b92189b32d
Corrected based on generic param changes
2019-09-17 09:06:52 -06:00
David Hall
d2cb04ce79
Corrected problem with memory tests found by recent chanages
2019-08-27 17:30:55 -06:00
David Hall
c3521b7742
MAJOR BREAKING CHANGEs:
...
1) Obsoleted Vanara.Extensions.InteropExtensions.StructureToPtr for a name change to MarshalToPtr for consistency.
2) Added parameter to all methods reading memory that allows developer to indicate size of allocated memory they read from.
3) Enabled the ability to read/write enum values from memory in all extension methods.
4) Added Write methods for writing to memory
2019-08-17 21:13:57 -06:00
David Hall
ee72119e36
MAJOR BREAKING CHANGE: Moved all extension methods for System.Object to Vanara.Extensions.Reflection namespace to avoid Intellisense overloads with methods that will be rarely used.
2019-08-17 14:42:49 -06:00
David Hall
96998e7c82
Added SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION to support new AuthzEnumerateSecurityEventSources overload. Removed AUTHZ_SOURCE_SCHEMA_REGISTRATION_IN in lieu of better use of AUTHZ_SOURCE_SCHEMA_REGISTRATION.
2019-07-03 14:47:25 -06:00
David Hall
369f22fae7
Updated unit tests
2019-06-25 17:14:17 -06:00
David Hall
3917d01d59
Updated NUnit reference
2019-06-07 19:03:58 -06:00
David Hall
5be3e15570
Update project versions to 2.3.6
2019-04-15 13:45:35 -06:00
David Hall
935fc50bf9
Updated tests for recent changes
2019-04-09 09:19:23 -06:00
David Hall
6f62808fc5
New and additional tests
2019-04-08 19:45:25 -06:00
David Hall
ef2f74cd83
Added allocation size handling to GetString and AllocString
2019-03-21 09:34:36 -06:00
David Hall
8560a43662
Completed work on unit test separation. All projects build.
2019-03-16 16:11:06 -06:00
David Hall
1a7a555de1
Separated out each unit test project so there is a 1:1 match between unit test project and assembly. Should simplify rebuilds on testing.
2019-03-16 10:28:15 -06:00
David Hall
9c16e3ac94
Removed unnecessary tests
2018-12-17 14:36:20 -07:00
David Hall
c5467dfb7e
Another 2.0 major commit. All tests working.
2018-11-19 21:18:50 -07:00
David Hall
627c6d2314
2.0 Checkin - Buildable
2018-10-26 12:24:07 -06:00
David Hall
138accc380
MAJOR BREAKING CHANGES: Fundamentally changed how HANDLEs are represented and used. Much better type safety now that all handles derive from HANDLE and disposing instances are all noted by a SafeHxxx name. Solves problem with circular references and random IntPtr parameters.
2018-09-21 22:35:34 -06:00
David Hall
bbc22f6646
Changed calls from conversion operator to DangerousGetHandle for all GenericSafeHandle derivatives.
2018-09-04 13:42:49 -06:00
David Hall
ff50e8d23d
Added classes to register and interact with the registry for shell applications, ProgIDs and file associations
2018-08-29 12:59:20 -06:00
David Hall
02eaec5c12
Updated unit tests with changes to library
2017-12-22 09:08:36 -07:00
David Hall
da627dad2e
Initial load: Extra libraries and unit tests
2017-11-27 11:11:20 -07:00