Commit Graph

26 Commits (009afeee894d4a33f3a1e242786bfc3df7641c54)

Author SHA1 Message Date
David Hall 34fd355ed2 Code cleanup and further nullability fixes 2023-09-20 09:00:33 -06:00
David Hall 97d0daa4d4 Finished nullable work on Vanara.Security 2023-07-13 16:34:36 -06:00
David Hall 6936530fa1 Completed nullable work for NetApi32 and NTDSApi 2023-07-09 10:30:00 -06:00
David Hall afd6b79b1f Check point - Lots of additions to windows messages 2023-05-28 09:07:56 -06:00
David Hall b2a78e184b Checkpoint on nullable work after signature work on PInvoke.Security, enabling nullable for entire solution, and auto fixing all optional attributed string and array parameters. 2023-03-31 09:47:53 -06:00
David Hall 54b1923a26 Added nullability to Vanara.Core 2023-02-18 19:31:48 -07:00
dahall 9245c5b90e Cleaned and extended Vanara.Security to support `ActiveDirectoryExtension` on all platforms 2020-12-18 17:51:35 -07: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
Jeffrey Jangli a3fb998699 Fixed memory leaks when using WindowsIdentity.GetCurrent() (#91) 2020-01-01 15:41:44 -07:00
David Hall af010e4fb4 Added documentation and cleaned formatting 2019-11-05 18:04:15 -07:00
David Hall 76849b7f6f Added documentation 2019-11-05 16:20:52 -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 a4212024ce Updates for use of PSID 2019-08-09 16:37:09 -06:00
David Hall 3df4a4af97 BREAKING CHANGE: Renamed SafeSECURITY_DESCRIPTOR to SafePrivateObjectSecurity and SafeSecurityDescriptor to SafePSECURITY_DESCRIPTOR due to inconsistency in framework leading to numerous misuse instances. Sorry! 2019-07-12 09:47:46 -06:00
David Hall cd71160495 Corrected bug in AdjustTokenPrivileges and dependent code 2019-06-19 14:44:05 -06:00
David Hall 37cceb6db5 BREAKING CHANGE: Removed methods that can cause unpredictable results due to ACE size differences. 2019-04-09 11:46:27 -06:00
David Hall 7bdc81796e Added AccessControlHelper.GetAces to enumerate aces on an acl. Added 'this' qualifier to turn methods into extension methods in AccessControlHelper. 2019-04-08 11:39:23 -06:00
David Hall b8fe8bdf89 Moved GetInheritanceSource helper to PInvoke project 2019-03-16 16:12:25 -06: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 fc3ebba322 Replaced numerous IntPtr calls to SafeSecurityDescriptor. 2018-09-04 13:43:41 -06:00
David Hall cd8afc3891 Updated XML documentation 2018-04-05 14:17:33 -06:00
David Hall 403b3f41fb Updated Token related structures to provide all GetTokenInformation results. 2017-11-28 17:11:08 -07:00
David Hall b208f82df4 Updated projects and dependencies to allow for .NET Standard builds for all non-UI projects. 2017-11-27 16:50:18 -07:00
David Hall da627dad2e Initial load: Extra libraries and unit tests 2017-11-27 11:11:20 -07:00