Commit Graph

84 Commits (e378e1f7e23cace420cda53a5b6698973391c14d)

Author SHA1 Message Date
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