Click here to Skip to main content
15,915,852 members
Home / Discussions / C#
   

C#

 
GeneralRe: Container Object reference in Contained class Pin
leppie5-Aug-04 20:05
leppie5-Aug-04 20:05 
GeneralRe: Container Object reference in Contained class Pin
isamir6-Aug-04 5:45
isamir6-Aug-04 5:45 
GeneralRe: Container Object reference in Contained class Pin
Heath Stewart6-Aug-04 1:36
protectorHeath Stewart6-Aug-04 1:36 
Generalcopy NTF File Permission Pin
Anonymous5-Aug-04 11:11
Anonymous5-Aug-04 11:11 
GeneralRe: copy NTF File Permission Pin
Heath Stewart5-Aug-04 11:48
protectorHeath Stewart5-Aug-04 11:48 
GeneralRe: copy NTF File Permission Pin
Dave Kreskowiak6-Aug-04 3:25
mveDave Kreskowiak6-Aug-04 3:25 
GeneralReflection and System.Windows.Forms.Form Pin
Wizard_015-Aug-04 8:25
Wizard_015-Aug-04 8:25 
GeneralRe: Reflection and System.Windows.Forms.Form Pin
Heath Stewart5-Aug-04 8:37
protectorHeath Stewart5-Aug-04 8:37 
It's called Code Access Security, and you should read about it to understand. Depending on what evidence is presented with your assembly, you may not be able to reflect anything. I recommend you read Understanding .NET Code Access Security[^] here on CodeProject and follow the links to the online .NET Framework SDK for additional information.

The specific permission being requested is for a strongly named assembly, which means you use sn.exe -k KeyFile.snk to generate key pair and enter the absolute or project-relative path in the [assembly: AssemblyKeyFileAttribute] typically found in AssemblyInfo.cs, or add it to a container with sn.exe -i KeyFile.snk MyKeyPair and put "MyKeyPair" (for example) in the [assembly: AssemblyKeyNameAttribute], also found in the same file (makes it easier to use a single key pair for all your assemblies, which is the common way of signing assemblies for an organization or product).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Reflection and System.Windows.Forms.Form Pin
Wizard_015-Aug-04 13:47
Wizard_015-Aug-04 13:47 
GeneralRe: Reflection and System.Windows.Forms.Form Pin
Heath Stewart6-Aug-04 1:33
protectorHeath Stewart6-Aug-04 1:33 
GeneralSetting the System Cursor Pin
betterc5-Aug-04 8:16
betterc5-Aug-04 8:16 
GeneralRe: Setting the System Cursor Pin
Heath Stewart5-Aug-04 8:33
protectorHeath Stewart5-Aug-04 8:33 
GeneralRe: Setting the System Cursor Pin
Tom Larsen5-Aug-04 12:06
Tom Larsen5-Aug-04 12:06 
GeneralRe: Setting the System Cursor Pin
betterc5-Aug-04 12:47
betterc5-Aug-04 12:47 
GeneralStrange Thread problem Pin
Guinness4Strength5-Aug-04 7:43
Guinness4Strength5-Aug-04 7:43 
GeneralRe: Strange Thread problem Pin
leppie5-Aug-04 13:31
leppie5-Aug-04 13:31 
GeneralRe: Strange Thread problem Pin
Guinness4Strength5-Aug-04 15:14
Guinness4Strength5-Aug-04 15:14 
GeneralRe: Strange Thread problem Pin
leppie5-Aug-04 19:18
leppie5-Aug-04 19:18 
GeneralRe: Strange Thread problem Pin
Guinness4Strength6-Aug-04 3:03
Guinness4Strength6-Aug-04 3:03 
GeneralBizarre remoting problem Pin
Judah Gabriel Himango5-Aug-04 7:25
sponsorJudah Gabriel Himango5-Aug-04 7:25 
GeneralRe: Bizarre remoting problem Pin
Heath Stewart5-Aug-04 8:44
protectorHeath Stewart5-Aug-04 8:44 
GeneralRe: Bizarre remoting problem Pin
Judah Gabriel Himango5-Aug-04 10:10
sponsorJudah Gabriel Himango5-Aug-04 10:10 
GeneralRe: Bizarre remoting problem Pin
Heath Stewart5-Aug-04 10:39
protectorHeath Stewart5-Aug-04 10:39 
GeneralRe: Bizarre remoting problem Pin
Judah Gabriel Himango5-Aug-04 10:54
sponsorJudah Gabriel Himango5-Aug-04 10:54 
GeneralRe: Bizarre remoting problem Pin
Tom Larsen5-Aug-04 12:17
Tom Larsen5-Aug-04 12:17 

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.