© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
1 reply
FancyFurret
❔ Do I need Marshal.AddRef/Release here?
Im using this repo as a guide on how to make a credential provider in C
#
:
https://github.com/phaetto/windows-credentials-provider/blob/dd3f5bbe86f1cf1f8f679ac109332975fbf3373c/WindowsCredentialProviderTest/TestWindowsCredentialProviderTile.cs#L56
Do you actually need the Marshal
.AddRef
/Release here
? I dont have much experience with COM
, but reading online it seems like usually you dont
?
GitHub
windows-credentials-provider/TestWindowsCredentialProviderTile.cs a...
An example implementation of a windows credential provider that is tightly connected with logon system
- windows
-credentials
-provider
/TestWindowsCredentialProviderTile
.cs at dd3f5bbe86f1cf1f8f679ac
.
.
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Need some help with marshal
C
C# / help
4y ago
idk what I need to do here
C
C# / help
3y ago
Marshal class
C
C# / help
4y ago
why do we need IAsyncDisposable here?
C
C# / help
3y ago