You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an assembly named Assem1 using .NET Framework. Assem1 contains a public method. The global cache contains a second assembly named Assem2. You need to ensure that the public method is only called from Assem2. Which of the following permission classes will you use to accomplish the task?
A. DataProtectionPermission
B. PublisherIdentityPermission
C. StrongNameIdentityPermission
D. GacIdentityPermission
Answer:C
You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an assembly named Assem1 using .NET Framework. Assem1 contains a public method. The global cache contains a second assembly named Assem2. You need to ensure that the public method is only called from Assem2. Which of the following permission classes will you use to accomplish the task?
A. DataProtectionPermission B. PublisherIdentityPermission C. StrongNameIdentityPermission D. GacIdentityPermission