LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.Net:This assembly does not include any public classes that can be created

Solved!
Go to solution

hello

   When i  used .Net to  call System.Security.Cryptography.Algorithms,the feedback is :This assembly does not include any public classes that can be created;

  labview:2019 spi

  windows: win10 (2019)

.Net:.Net framework 4.0&4.5

thanks

0 Kudos
Message 1 of 4
(1,406 Views)
Yes, that is a private assembly that should be called by a public construct.

"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 4
(1,371 Views)

Most of the crypto providers in the .NET Framework have a "Create" static method to create an instance of the provider.

 

You haven't said what provider you want to use, but for SHA256; here is an example from the MS Docs: https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.sha256.create?view=netframe... 

0 Kudos
Message 3 of 4
(1,358 Views)
Solution
Accepted by topic author xingdx
Message 4 of 4
(1,352 Views)