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
37e78ae321
Fixed code causing warnings during Debug build
2020-09-19 08:47:48 -06:00
dahall
e94d44d48a
Added LsaOpenPolicy test for remote machine ( #169 )
2020-09-14 10:27:58 -06:00
dahall
67e344975f
Updated unit tests with changes to TestCaseSources class
2020-08-26 13:49:55 -06:00
dahall
091352956e
Fixed ( #152 ) bug in base class SafeMemoryHandleExt that caused ToString(int...) to fail if memory size was not specifically set (like in parameter assignment).
2020-07-20 10:44:01 -06:00
dahall
e073e09526
Fixed enumeration failures with EnumServiceStatus, EnumServiceStatusEx and EnumDependentServices ( #145 )
2020-07-13 08:39:38 -06:00
dahall
fdcd7e93a1
Updated NuGet packages
2020-06-11 11:52:26 -06:00
dahall
a124fb4531
MAJOR BREAKING CHANGE: Changed underlying type of HRESULT and NTStatus to Int32 and Win32Error to UInt32 (reversed) due to a major miss on my part in reading the header files. Sorry everyone.
2020-04-27 21:25:47 -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
dahall
0f0d699cb2
Added GetNamedSecurityInfo test
2020-03-27 17:07:17 -06:00
dahall
2cf271b8c0
Updated methods to use string overload of CertFindCertificateInStore
2020-03-27 17:04:18 -06:00
dahall
4c4d8cad8d
Updated tests with new Crypt32 function definitions
2020-03-09 10:18:53 -06:00
Jeffrey Jangli
a3fb998699
Fixed memory leaks when using WindowsIdentity.GetCurrent() ( #91 )
2020-01-01 15:41:44 -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
9771eadebc
Converted structures from using IVanaraMarshaler to using SafeAnysizeStructMarshaler attribute
2019-11-16 15:51:16 -07:00
David Hall
06330a6bbe
Added TOKEN_GROUPS test
2019-11-03 22:27:39 -07:00
David Hall
296a559eda
Added SafeAnysizeStruct to help marshal stuctures with a 1-element field at the end that can be variable size. Adjusted all structs of this type to use this to marshal along with tests and supported classes.
...
BREAKING CHANGE: This forced the removal of PTOKEN_PRIVILEGES as that functionality is now in a shared marshaling class.
2019-11-03 16:02:54 -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
d086778902
Consolidated test file reference to TestCaseSources
2019-09-17 10:36:00 -06:00
David Hall
b80ce7f131
Completed unit testing and fixes for all schannel.h, secur32.h and sspi.h functions
2019-08-27 11:45:05 -06:00
David Hall
763407f6f7
Completed unit tests and changes for winsvc.h functions
2019-08-27 08:25:35 -06:00
David Hall
6cd8448d9a
Renamed files
2019-08-26 15:15:39 -06:00
David Hall
869189f4d2
Renamed ServiceTests to WinSvcTests.cs for consistency.
2019-08-26 15:15:16 -06:00
David Hall
fa274e0d61
Completed unit tests and updates for winsafer.h functions
2019-08-26 15:08:09 -06:00
David Hall
61637818d6
Finished unit testing and corrections for winreg.h functions
2019-08-26 13:08:42 -06:00
David Hall
6065013993
Completed unit tests and updates for winefs.h functions.
2019-08-23 14:05:09 -06:00
David Hall
196e02e1f4
Completed unit testing and fixes for wincred.h functions
2019-08-21 13:09:39 -06:00
David Hall
d03c88b931
Added SafePEVENTLOGRECORD to make it easier to deal with some very C centric handling of field values.
2019-08-20 15:58:52 -06:00
David Hall
727021fea8
Added event log unit tests and fixes for winbase.h functions.
2019-08-20 10:20:45 -06:00
David Hall
b7cedf436f
Changed AdvApiTests.PrivBlock references to shared ElevPriv.
2019-08-19 15:09:06 -06:00
David Hall
2af1e65730
Completed unit tests for winbase.h along with API changes.
2019-08-19 15:08:58 -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
86aa2d4b11
Fixed test problems
2019-08-17 21:12:39 -06:00
David Hall
692524a94a
Fixed NotifyServiceStatusChange code and unit test
2019-08-17 19:26:09 -06:00
David Hall
92ad7b8abe
Competed unit tests and fixes for wct.h functions and structures
2019-08-15 16:32:57 -07:00
David Hall
38ab24c904
Completed unit tests and updates to SID functions in SecurityBaseApi.h
2019-08-15 15:36:12 -07:00
David Hall
871ad3b8ce
Whew! Lots of work and significant changes coming from completing unit testing and corresponding fixes and additions for SecurityBaseApi.h and WinNT.h.
2019-08-15 10:08:41 -07:00
David Hall
c478f33c48
Updated and re-ran after changes
2019-08-15 00:20:29 -07:00
David Hall
cba9506edc
Completed unit testings and updates for sddl.h functions and wrappers
2019-08-12 09:57:07 -06:00
David Hall
0c798f899f
Completed unit testing and fixes for SafePSID and SafePSIDArray
2019-08-12 09:04:53 -06:00
David Hall
d95600ecf0
Completed unit tests for processthreadsapi.h in AdvApi32
2019-08-11 16:15:33 -06:00
David Hall
0626a21e17
Complete unit tests and changes for perflib.h
2019-08-11 15:28:41 -06:00
David Hall
7a0acde552
Finished unit testing and updates for ntsecapi.h audit functions
2019-08-10 13:51:36 -06:00
David Hall
c3b5693389
Added unit tests for mschapp.h
2019-08-10 13:42:50 -06:00
David Hall
a4212024ce
Updates for use of PSID
2019-08-09 16:37:09 -06:00
David Hall
0c73576e40
Collapsed SafeLocalPSID into SafePSID. Enhanced SafePSIDArray.
...
Finished unit testing and changes for Lsa** functions.
2019-08-09 14:18:18 -06:00
David Hall
198a3fafd5
Completed unit testing and fixes for trace event functions.
2019-08-08 14:46:52 -06:00
David Hall
0ab573c245
Completed unit tests and updates for evntprov.h
2019-08-04 16:58:42 -06:00
David Hall
46fe06ce41
Completed unit tests (non-functional) for appmgmt.h
2019-08-04 16:58:22 -06:00