98-372 · Question #226
Which three actions can you perform by using the Strong Name tool? (Choose three.)
The correct answer is B. Extract the public key from an assembly. C. Re-sign a previously signed assembly. D. Create a key pair for an assembly. D: sn -a identityKeyPairFile signaturePublicKeyFile Generates AssemblySignatureKeyAttribute data to migrate the identity key to the signature key from a file. C: sn - R[a] assembly infile Re-signs a previously signed or delay-signed assembly with the key pair in infile. If -Ra…
Question
Which three actions can you perform by using the Strong Name tool? (Choose three.)
Options
- ACompile the assembly for the first time.
- BExtract the public key from an assembly.
- CRe-sign a previously signed assembly.
- DCreate a key pair for an assembly.
- EEncrypt an assembly.
How the community answered
(41 responses)- A10% (4)
- B73% (30)
- E17% (7)
Explanation
D: sn -a identityKeyPairFile signaturePublicKeyFile Generates AssemblySignatureKeyAttribute data to migrate the identity key to the signature key from a file. C: sn - R[a] assembly infile Re-signs a previously signed or delay-signed assembly with the key pair in infile. If -Ra is used, hashes are recomputed for all files in the assembly. B: Sn -e assembly outfile Extracts the public key from assembly and stores it in outfile. - The Strong Name tool (Sn.exe) helps sign assemblies with strong names. Sn.exe provides options for key management, signature generation, and signature verification.
Topics
Community Discussion
No community discussion yet for this question.