Which permission class should you use?

You are creating an assembly named Assembly1. Assembly1 contains a public method. The global cache contains a second assembly named Assembly2. You must ensure that the public method is only called from Assembly2. Which permission class should you use?

You are creating an assembly named Assembly1. Assembly1 contains a public method. The global cache contains a second assembly named Assembly2. You must ensure that the public method is only called from Assembly2. Which permission class should you use?

A.
GacIdentityPermission

B.
PublisherIdentityPermission

C.
DataProtectionPermission

D.
StrongNameIdentityPermission



Leave a Reply 0

Your email address will not be published. Required fields are marked *