David Hall
2723d06061
Added TokenMandatoryPolicy enum for use by TOKEN_MANDATORY_POLICY
2019-11-04 13:54:15 -07:00
David Hall
0eb05fc0b0
Updated project info for 3.1.2 release
2019-11-04 06:49:29 -07:00
David Hall
f196cb9baf
Improved object disposal in SafeHTOKEN.FromThread
2019-11-03 21:28:34 -07:00
David Hall
803b31f094
Added SID_AND_ATTRIBUTES.ToString
2019-11-03 21:27:51 -07:00
David Hall
6669249944
Added error handling to PSID.ToString("D")
2019-11-03 21:27:26 -07:00
David Hall
4beb2c77bc
Fixed unterminated string bug in LSA_UNICODE_STRING.ToString and implicit operator.
2019-11-03 21:26:43 -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
6ef7235bf3
Update project versions to 3.1.2
2019-10-23 13:44:41 -06:00
David Hall
dee8220068
Update project file information and version to 3.1.1.
2019-10-17 13:43:37 -06: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
da3fad8c40
Moved URLZONE enum up to to Pinvoke/Shared assembly
2019-09-16 07:56:00 -06:00
David Hall
846783b115
Updated project documentation
2019-09-05 21:03:18 -06:00
David Hall
d56d9486e7
Updated project information to version 3.0.1, added DLL references, and updated markdown files.
2019-09-04 14:11:25 -06:00
David Hall
d89a9df2a5
With so many breaking changes, I decided to roll the version to 3.0.0.
2019-08-27 12:42:33 -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
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
50a8a10a54
Cleaned and reorganized
2019-08-23 14:38:53 -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
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
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
18b02b1c77
Added DebuggerDisplay attribute and property. Added factory method to create known capability SID. Added PSID extension methods to mimic some found in SafePSID.
2019-08-15 00:20:08 -07:00
David Hall
fd5fb45297
Added improved parameter attributes
2019-08-15 00:18:11 -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
0626a21e17
Complete unit tests and changes for perflib.h
2019-08-11 15:28:41 -06:00
David Hall
29c8cc70a2
Cleaned up comments and enum types
2019-08-10 14:11:50 -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
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
c09b2ec246
Completed unit testing and fixes for aclapi.h functions
2019-08-02 13:42:47 -06:00
David Hall
1fe23556ac
For null terminated string arrays, used custom marshaler to simplify input parameters.
2019-07-31 20:03:19 -06:00
David Hall
3f68b4f114
Renamed ControlCallback to TraceControlCallback to avoid naming conflict with delegate in perflib.h
2019-07-25 20:37:25 -06:00
David Hall
fa9ba9ff74
Changed names of delegates where existing ALLCAP name was a reference to another name. Could be a breaking change.
2019-07-25 20:25:24 -06:00
David Hall
42630dd833
BREAKING CHANGE: Changed type of SafeAllocatedMemoryHandle.Size property from int to SizeT so that it more easily converts to different types used in memory size functions.
2019-07-25 19:46:45 -06:00
David Hall
115f7b08d8
Completed unit tests and fixes for namedpipeapi.h including introduction of HPIPE and SafeHPIPE for pipe handles.
2019-07-23 19:36:59 -06:00
David Hall
3454e9d34f
Added unsafe CreateThread overload and changed PTHREAD_START_ROUTINE to ThreadProc
2019-07-16 11:53:20 -06:00
David Hall
f9f7068a9d
BREAKING CHANGE: Moved SecurityBaseApi.h functions to PInvoke.Security even though they live in Kernel32. Simplifies structure access and Security depends on Kernel32 anyway.
2019-07-12 16:57:28 -06:00
David Hall
a2088da9aa
Added SafePACL and CLAIM_SECURITY_ATTRIBUTES* structures
2019-07-12 13:45:36 -06:00
David Hall
8c0069a1a4
Fixed params on GetAclInformation
2019-07-12 13:44:42 -06:00
David Hall
0ca6f73c23
Added Everyone static field to SafePSID
2019-07-12 13:44:14 -06:00