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
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
0c5dcbaef5
Fixed ( #109 ) problem with SafePSECURITY_DESCRIPTOR not disposing using LocalFree by changing default constructor.
2020-03-27 17:11:18 -06:00
dahall
a64e1c9cdd
Fixed PROV_ENUMALGS and added CryptProviderName with known CSPs.
2020-03-15 19:10:57 -06:00
dahall
3e203d6b9b
Added AdvApi32 methods from wincrypt.h
2020-03-13 15:45:15 -06:00
dahall
7ebcd7f00c
Added and fixed XML documentation
2020-03-13 15:43:39 -06:00
dahall
82f474e741
Add and corrected XML documentation.
2020-03-01 18:59:39 -07:00
dahall
54ee24eb96
Fixed compiler warnings
2020-02-09 11:27:14 -07:00
dahall
34ee12d616
Updated PSID.ToString(string) docs
2020-01-05 20:50:42 -07:00
Jeffrey Jangli
a3fb998699
Fixed memory leaks when using WindowsIdentity.GetCurrent() ( #91 )
2020-01-01 15:41:44 -07:00
David Hall
ebc448c30a
Changed default sizing to int.MaxValue to prevent overruns.
2019-11-27 14:46:08 -07:00
David Hall
142d0d6a41
Added missing value to SID_ENUM_TYPE ( #74 )
2019-11-27 07:58:18 -07:00
David Hall
6192335362
Added missing structures related to kerberos tickets
2019-11-26 21:32:18 -07:00
David Hall
a7b722c8a3
Added SafeLsaMemoryHandleBase.Size as a helper for building structures with IVanaraMarshaler
2019-11-26 21:31:07 -07:00
David Hall
54ea0cf18c
Fixed bug with POLICY_AUDIT_EVENTS_INFO when using 64-bit builds.
2019-11-26 07:14:10 -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
f3716aefb7
Added generic helper functions for query and set.
2019-11-13 23:05:25 -05:00
David Hall
e4959743fc
Converted structures that supported IMarshalDirective to IVanaraMarshaler
2019-11-13 23:04:48 -05:00
David Hall
bfd863bfe6
XML Comment corrections (bad params, bad refs, bad syntax).
2019-11-05 22:52:45 -07:00
David Hall
2723d06061
Added TokenMandatoryPolicy enum for use by TOKEN_MANDATORY_POLICY
2019-11-04 13:54:15 -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
da3fad8c40
Moved URLZONE enum up to to Pinvoke/Shared assembly
2019-09-16 07:56:00 -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