Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
GeneralStrong-Named Assemblies Pin
Anders Molin3-May-04 12:59
professionalAnders Molin3-May-04 12:59 
GeneralRe: Strong-Named Assemblies Pin
Anders Molin3-May-04 13:09
professionalAnders Molin3-May-04 13:09 
Generalusing signcode.exe Pin
Anders Molin3-May-04 13:14
professionalAnders Molin3-May-04 13:14 
GeneralRe: using signcode.exe Pin
Nick Parker3-May-04 17:25
protectorNick Parker3-May-04 17:25 
GeneralRe: using signcode.exe Pin
Heath Stewart4-May-04 3:19
protectorHeath Stewart4-May-04 3:19 
GeneralRe: using signcode.exe Pin
Anders Molin4-May-04 4:26
professionalAnders Molin4-May-04 4:26 
GeneralRe: using signcode.exe Pin
Heath Stewart4-May-04 4:39
protectorHeath Stewart4-May-04 4:39 
GeneralRe: Strong-Named Assemblies Pin
Heath Stewart4-May-04 3:23
protectorHeath Stewart4-May-04 3:23 
Of course, just use sn.exe -k KeyFile.snk to create one, and you could even put it into a user or machine store using sn.exe -i KeyFile.snk MyContainerName, using the path (project-relative or absolute) in the AssemblyKeyFileAttribute in the former case, and AssemblyKeyNameAttribute in the latter case.

As far as plugins, they do not need to use the same key unless you use code access security to state that plugins must use the same key (not a good idea). Think about this: in your .config file there's several sections where you can specify a type (like in .NET Remoting config sections or system.net config sections) and they load into your application (though typically in these cases you don't load them directly).

Signing an assembly not only identifies the assembly but provides a level of security as you've discovered, such as determining when the file has been tampered with (the CLR takes care of this) or by using CAS to determine what assemblies to trust.

 

Microsoft MVP, Visual C#
My Articles
Questionrectangle select portion of the screen ? Pin
Member 10574323-May-04 12:31
Member 10574323-May-04 12:31 
AnswerRe: rectangle select portion of the screen ? Pin
mookeroo4-May-04 15:02
mookeroo4-May-04 15:02 
GeneralExecuting applications Pin
Jon G3-May-04 11:59
Jon G3-May-04 11:59 
GeneralRe: Executing applications Pin
Colin Angus Mackay3-May-04 12:01
Colin Angus Mackay3-May-04 12:01 
GeneralListView and Column Margin :: C# Pin
valikac3-May-04 11:33
valikac3-May-04 11:33 
GeneralRe: ListView and Column Margin :: C# Pin
Heath Stewart4-May-04 3:32
protectorHeath Stewart4-May-04 3:32 
GeneralRe: ListView and Column Margin :: C# Pin
valikac4-May-04 3:48
valikac4-May-04 3:48 
GeneralIButtonControl Pin
K4reem3-May-04 10:57
K4reem3-May-04 10:57 
GeneralRe: IButtonControl Pin
leppie3-May-04 11:01
leppie3-May-04 11:01 
GeneralRe: IButtonControl Pin
K4reem4-May-04 3:06
K4reem4-May-04 3:06 
GeneralRe: IButtonControl Pin
Heath Stewart4-May-04 3:28
protectorHeath Stewart4-May-04 3:28 
GeneralRe: IButtonControl Pin
leppie4-May-04 6:52
leppie4-May-04 6:52 
GeneralUsing Viseme from sapi 5.1 Pin
pjaol3-May-04 10:51
pjaol3-May-04 10:51 
GeneralAdding HTML to the OE NewMessage Window Pin
ManjithMadhusudanan3-May-04 10:44
sussManjithMadhusudanan3-May-04 10:44 
GeneralCopy Portion of Bitmap Pin
Wackatronic3-May-04 9:50
Wackatronic3-May-04 9:50 
GeneralRe: Copy Portion of Bitmap Pin
Heath Stewart3-May-04 10:36
protectorHeath Stewart3-May-04 10:36 
GeneralRe: Copy Portion of Bitmap Pin
Colin Angus Mackay3-May-04 12:11
Colin Angus Mackay3-May-04 12:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.