C
C#15mo ago
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...
1 Reply
Accord
Accord15mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.