Commit Graph

143 Commits (b531dfc6fa0a50f106f16e0c34e7020416373f9c)

Author SHA1 Message Date
David Hall 124549d3f5 Added many new AdvApi32 methods 2019-04-10 12:13:59 -06:00
David Hall f0ce103165 Updated project file information 2019-04-09 15:20:49 -06:00
David Hall d007f1babd Lots of work on ACE handling 2019-04-09 11:46:44 -06:00
David Hall a1837a70f5 Added ACCESS_ALLOWED_ACE.GetSid method to extract SafeSID value from structure. Added event structures. Made marshaler for PRIVILEGE_SET safer. Many additions to SafeSecurityDescriptor. 2019-04-08 11:38:00 -06:00
David Hall 9eea42368b Added functions: AccessCheck, AccessCheckByType, AccessCheckByTypeResultList, GetSecurityDescriptorGroup, GetSecurityDescriptorLength, GetSecurityDescriptorSacl, IsValidSecurityDescriptor. Provided helper overloads for GetAclInformation, GetPrivateObjectSecurity. Enhanced SafeHTOKEN class. 2019-04-08 11:35:40 -06:00
David Hall da6113c621 Cleaned up comments 2019-04-08 11:27:09 -06:00
David Hall b8fe8bdf89 Moved GetInheritanceSource helper to PInvoke project 2019-03-16 16:12:25 -06:00
David Hall ffb7879e3f Added AdvApi32 event log methods 2019-03-13 09:58:00 -06:00
David Hall 72a2ceb50c Updated project versions to 2.3.5 2019-03-12 08:05:49 -06:00
David Hall 3877cc58bc Pushing point release due to some debug files getting into the NuGet packages 2019-03-08 20:09:11 -07:00
David Hall 1bdbca3d57 Updated projects for version 2.3.3 2019-03-08 12:38:52 -07:00
David Hall 00b8227a10 Updated project versions to 2.3.2 2019-02-27 16:53:42 -07:00
David Hall ec8fec7902 Updated project files to 2.3.1 2019-02-24 18:54:29 -07:00
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall 8a8b265834 ToString methods added to LsaForest structures 2019-02-18 14:28:34 -07:00
David Hall 20adde08ae Added LsaForestTrustInformation.FromBuffer static method to create a new instance from a pointer. 2019-02-16 18:17:18 -07:00
David Hall e99a0eff51 Major rework of LSA_FOREST_TRUST_INFORMATION by supplying a helper class (LsaForestTrustInformation) that makes the creation of it very .NET happy. Simply fill out the class with entries you need and then call DangerousGetLSA_FOREST_TRUST_INFORMATION() to build the structure. Also improved comments as I found more detail. 2019-02-16 17:40:12 -07:00
David Hall 05887bfac4 Updated project files for release 2019-02-11 19:38:05 -07:00
David Hall 4ce874c5c0 Tweaked work submitted by @gigi81 to match project style, reorganize files, and update documentation. 2019-02-11 19:34:47 -07:00
David Hall 8aefdc9389 Revert "Added some missing functions, structs and enums to winsvc.cs and tests"
This reverts commit dd15c0478c.
2019-02-11 18:38:41 -07:00
David Hall 1364d3a447
Merge pull request #38 from gigi81/feature/advapi32-winsvc
Added some missing functions, structs and enums to winsvc.cs and tests
2019-02-11 18:31:51 -07:00
Luigi Grilli dd15c0478c Added some missing functions, structs and enums to winsvc.cs and tests
Added QueryServiceStatusEx SERVICE_STATUS_PROCESS and more and test

Removed redundant CloseServiceHandle calls

Added Start/Stop/Delete/Control service functions

Added Start/Stop/Delete/Control service functions and appveyor for testing

Fixed version in appveyor.yml

Reducing msbuild verbosity

Improved AdvApi32 tests

Improve StartStop test method

Fixed StartService arguments types

Added ControlService, Fixed ControlServiceEx

Delete appveyor.yml
2019-02-07 00:52:59 +00:00
David Hall 7e183c2b6c Updated project files to 2.2.1 2019-02-05 14:25:27 -07:00
David Hall f1085cd3a5 Change SafeHandle derived base class HANDLE to SafeHANDLE. Yes, bonehead move to not do this correctly from the beginning. 2019-02-04 09:51:08 -07:00
David Hall 8f1e78e0f3 Updated project versions to 2.2.0 as there have been lots of changes, some of which are breaking. 2019-01-21 08:42:39 -08:00
David Hall c846af84e5 Added more RegSet overloads 2019-01-17 21:02:28 -08:00
David Hall 635c8d8a33 Added overloads for RegSet* functions 2019-01-17 19:46:32 -08:00
David Hall fd06ac5e0a Moved REG_VALUE_TYPE enum from AdvApi32 to Shared 2019-01-16 08:07:46 -07:00
David Hall 8fa7d0aafa Changed project versions to 2.1.3 2019-01-14 14:46:49 -07:00
David Hall 1e16ceed27 Updated copyright and PackageTags formatting in project files 2019-01-07 15:00:20 -07:00
David Hall b35d873906 Changed project versions to 2.1.2 2019-01-02 20:30:36 -07:00
David Hall 4356d92c71 Changed project versions to 2.1.1. 2018-12-17 11:45:32 -07:00
David Hall eb902e4595 Fixed build errors and warnings due to XML comments and obsolete license reference in project files. 2018-12-15 13:44:33 -07:00
David Hall 53df4ac64a Modified projects to support .NET Core 2.0 and 2.1 2018-12-14 15:10:31 -07:00
David Hall c6451bf9b3 Updated version to 2.1.0 to indicated addition of Theraot.Core as a dependency. 2018-12-11 11:34:44 -07:00
David Hall 33b358033d Updated project information to version 2.0.1 and signed all assemblies. 2018-12-07 13:53:39 -07:00
David Hall fed13f093c Updated project files for 2.0.1 2018-11-30 14:34:07 -07:00
David Hall 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall d434ec4527 Updated project files for 2.0 release 2018-11-28 08:53:23 -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 99e041749c Added SSPI functions in Secur32.dll 2018-09-30 15:37:25 -06:00
David Hall bfd2730324 Changed project builds to use latest C# minor version 2018-09-27 09:46:40 -05:00
David Hall 07b35daee3 Updated projects to version 2.0.0 2018-09-21 23:28:01 -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 6602bdf12c Updated project information for 1.1.0 2018-09-10 16:56:45 -06:00
David Hall 1f54ff7c9c Added ImpersonateLoggedOnUser. 2018-09-05 07:31:39 -06:00
David Hall fe45d80854 Due to significant breaking changes related to the removal of conversion operators from GenericSafeHandle to IntPtr, changed version to 1.1.0. 2018-09-04 13:47:00 -06:00
David Hall fc3ebba322 Replaced numerous IntPtr calls to SafeSecurityDescriptor. 2018-09-04 13:43:41 -06:00
David Hall d219c93e7f Major rework to ConvertSecurityDescriptorToStringSecurityDescriptor and ConvertStringSecurityDescriptorToSecurityDescriptor to include SafeHandles and automatic marshaling. 2018-09-04 12:09:56 -06:00
David Hall 6b1ed53536 Made conversion operator from GenericSafeHandle to IntPtr explicit to minimize unintended conversions (#12) and updated all affected functions, including fixing those affected by unintended consequences. 2018-09-04 12:04:25 -06:00
David Hall 6fafeaf0b9 Adding 2 byte packing to LSA_UNICODE_STRING 2018-08-30 16:06:36 -06:00
David Hall 0f476165ca Updated all versions to 1.0.19 2018-08-18 21:37:35 -06:00
David Hall 411b857d01 Revert "Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties.""
This reverts commit a454d5055d.
2018-08-18 19:38:27 -06:00
David Hall a454d5055d Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties."
This reverts commit 733e30b868.
2018-08-18 19:33:40 -06:00
David Hall 733e30b868 BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties. 2018-08-18 19:33:00 -06:00
David Hall 09fdb204fa BREAKING CHANGE: Changed class name of NetSecApi to Secur32 so that it matches the project rule of naming the class after the DLL. 2018-08-17 07:40:15 -06:00
David Hall 631ea1be4a CryptXX method stub 2018-08-17 07:38:58 -06:00
David Hall 012e2e7b4e Added CredXX methods to AdvApi32 2018-08-17 07:38:07 -06:00
David Hall 1ee6873cc7 Updated documentation 2018-08-14 11:02:20 -06:00
David Hall 3d5f828a4b Added documentation 2018-08-13 21:46:45 -06:00
David Hall 44776560ce Completed registry related functions and RegistryEventMonitor component to listen for registry changes. 2018-08-13 21:29:07 -06:00
David Hall f844f6a8f2 Updated projects for 1.0.18 release 2018-08-10 11:54:21 -06:00
David Hall 38db67b78b Updated project files for 1.0.17 release 2018-07-26 22:54:41 -06:00
David Hall 6c77595ea2 Updated correlation reports and project files after fixing analysis tool 2018-07-07 21:35:28 -06:00
David Hall a69e19ebc6 Updated project files and information to 1.0.16 2018-07-02 16:22:56 -06:00
David Hall c85b8d8fc4 Version 1.0.15 project file updates 2018-06-27 13:25:04 -06:00
David Hall d4d804e7a3 Updated project files for 1.0.14 2018-06-08 12:00:08 -06:00
David Hall a406749d98 Updated for build 1.0.13 2018-06-06 12:05:52 -06:00
David Hall cd5f69ffd8 Fixed updates to project comments 2018-05-30 14:27:48 -06:00
David Hall 8df9eba7bb Updated project files with new versions and comments 2018-05-30 12:32:03 -06:00
David Hall 5d907ff3a3 100's of new methods to Kernel32 2018-05-13 21:41:49 -06:00
David Hall 2cfce3c7d3 Updated versions to 1.0.12 and corresponding release notes 2018-04-05 14:54:36 -06:00
David Hall 0d8b96fe9b Corrected XML documentation errors 2018-04-03 18:35:18 -06:00
David Hall 6551700381 Updated versions to 1.0.11 and corresponding release notes 2018-04-03 17:58:52 -06:00
David Hall 84b7a3bada Updated to version 1.0.10 2018-03-26 19:19:38 -06:00
David Hall cd9e856f77 Changed version to 1.0.9 2018-03-26 15:06:12 -06:00
David Hall dbf2e68121 Updated projects to version 1.0.8 2018-02-07 09:44:01 -07:00
David Hall c5885b4c17 Updated projects for 1.0.7 build. 2018-01-27 15:07:38 -07:00
David Hall 79ba7668c8 Changed CorrespondingTypeAttribute to allow for multiple types on an enum or a type and updated existing dependencies 2018-01-06 16:38:01 -07:00
David Hall 9b7e3ef765 Rolled project versions to 1.0.6 2017-12-29 13:54:58 -07:00
David Hall ea0dd3fd16 Changed project version to 1.0.5 2017-12-14 21:26:21 -07:00
David Hall f446e2e9b7 1.0.4 Release Build 2017-12-14 17:34:14 -07:00
David Hall 57375676b5 Removed unneeded references from project dependencies 2017-12-14 11:37:56 -07:00
David Hall c531d22515 Updated projects to 1.0.4, added release notes, and updated correlation reports. 2017-12-10 18:45:07 -07:00
David Hall 8b392c2b45 Added correlation reports for all PInvoke libs 2017-12-06 11:26:50 -07:00
David Hall 9c39eec5f9 * Changed projects to v1.0.3
* Fixed DllImport attributes to match native methods
* Added Crypt32 and Mpr projects
2017-12-06 08:54:01 -07:00
David Hall 7fd5dbb3b6 Updated images in readme and NuGet packages. 2017-11-29 11:11:01 -07:00
David Hall 6b45f2ab1d Changed all project files to build XML-doc on release and changed from .NET 4.61 to 4.5 to avoid use problems with all versions between them. 2017-11-28 17:12:19 -07:00
David Hall 403b3f41fb Updated Token related structures to provide all GetTokenInformation results. 2017-11-28 17:11:08 -07:00
David Hall 35aa651977 Changed project files to version 1.0.2 and to have NuGet packages only build on Release 2017-11-27 20:30:54 -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