This version allows to save blank passwords with an additional AllowBlankPassowrd
paremeter. Fixes #67.
Update max credential length to 2560 charecters. Fixes #65, Thanks to @ldattilo
Fixes #62 allowing to save single charecter passowrds, thanks to @aschoelzhorn
This version adds RemoveCredential. Fixes #59
This version adds EnumerateICredentials. Housekeeping to move common project properties to build.props.
- #47: Getting Multiple targets
- #46: Add EnumerateICredentials . Thanks to @strzalkowski
This version merges the .NET Framework and .NET Core projects into one multi-target project.
- #42: Fix NullReferenceException when credentials not found. Thanks to @LePtitDev
- #41: Use single project to target .NET Framework & Core. SDK-style projects allow multi-targeting which makes this much simpler. Thanks to @drewnoakes
- since main Nuget Package supports .NET Core specific Nuget package will be deprecated.
This version support to expose raw credential, with additional information not available in normal NetworkCredential
available in previous versions. Currently there is a open issue #30 for quite some asking for this feature.
This version also adds support to store comments and additional attributes associated with a Credential object. The attributes are serialized using BinaryFormatter
and API has 256 byte length. BinaryFormatter
generates larger than what you think the object size is going to be, si keep an eye on that.
Comments and attributes are only accessible programmatically. Windows always supported such a feature (via CREDENTIALW
structure) but Windows Credential Manager applet
does not have any way to show this information to user. So if an user edits the saved credentials using control panel comments and attributes gets lost. The lack of this information may be used as a tamper check. Note that this information is accessible all programs with can read write to credential store, so don't assume the information is secure from everything.
- #39: Password is exposed in the process memory after saving in the Windows credentials storage
- #30: Expose properties of Credential object which are not part of generic
NetworkCredential
- Ability to add comments to saved credentials. Use the
ICredential
returned fromSaveCredentials
, and call save on the interface for the second time after updating comment. - Ability to read write attributes to credentials. These Attributes can be any binary data, including strings, user roles etc, as it applies to use case.
- New
CredentialAPIException
to indicate the credential API failures, with API name.
SaveCredentials
return type changed frombool
toICredential
, giving reference to just saved instance.ToNetworkCredential
doesn't throwWin32Exception
anymore. It will throwInvalidOperationException
or newCredentialAPIException
instead.CredentialManager.CredentialType
enum is removed. UseCredentialType
instead.
- Add CredentialType as an extra optional parameter when saving credentials, Thanks to @esrahofstede
- add strong name to nuget, Thanks to @kvvinokurov
- #31: Support .NET Standard, Thanks to @RussKie for the issue
- Add EnumerateCredentials, Thanks to @erikjon
- Allow prefilled user name, Thanks to @jairbubbles
- Fix buffer sizes in ParseUserName, Thanks to @jairbubbles
- Don't crash if credential not found, Thanks to @pmiossec
- Corrections to Error message, Thanks to @nguillermin
- Initial Release