Share via

CspKeyContainerInfo.Accessible

S-Soft 666 Reputation points
2022-10-05T16:16:35.257+00:00

Hello
This is incredible:

https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.cspkeycontainerinfo.accessible?view=netframework-4.0

Gets a value indicating whether a key in a key container is accessible.

What is a key inside a key container?

If it returns FALSE, means protected in MY store?
Because if False, I also cannot get the Exported/Protected properties!

It also means that if Protected is True, never can get it via Protected property?

Developer technologies | VB
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


Answer accepted by question author

Jack J Jun 25,306 Reputation points
2022-10-06T07:06:26.353+00:00

@S-Soft , Welcome to Microsoft Q&A,

What is a key inside a key container?

The key is the key of the cryptographic key pair.

If it returns FALSE, means protected in MY store?

It only means that it can not be accessed, it may be protected when it return false

Because if False, I also cannot get the Exported/Protected properties!
It also means that if Protected is True, never can get it via Protected property?

The Protected means that Gets a value indicating whether a key pair is protected.

I think it may be different, Accessible is used for key and Protected is used for key pair.

Hope my explanation could help you.

Best Regards,
Jack


If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.