Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
QuestionVideo Chatting Pin
sandipan.neogi@gmail.com5-Sep-07 20:45
sandipan.neogi@gmail.com5-Sep-07 20:45 
Questioncontrol can not be parented in another thread Pin
Maddie from Dartford5-Sep-07 19:18
Maddie from Dartford5-Sep-07 19:18 
AnswerRe: control can not be parented in another thread Pin
Luc Pattyn6-Sep-07 3:27
sitebuilderLuc Pattyn6-Sep-07 3:27 
QuestionRMAN with C# Pin
WaiperWing755-Sep-07 18:13
WaiperWing755-Sep-07 18:13 
QuestionIs that Visual Studio feature for debugging? Pin
Michael Sync5-Sep-07 17:58
Michael Sync5-Sep-07 17:58 
QuestionGeneric forms call back? Pin
dino20945-Sep-07 14:06
dino20945-Sep-07 14:06 
AnswerRe: Generic forms call back? Pin
Steve Echols5-Sep-07 14:33
Steve Echols5-Sep-07 14:33 
GeneralRe: Generic forms call back? Pin
dino20945-Sep-07 15:17
dino20945-Sep-07 15:17 
QuestionC# Printer manipulation Pin
SBarnettAZ5-Sep-07 13:18
SBarnettAZ5-Sep-07 13:18 
Questionneed help for image alignment Pin
madokapeng5-Sep-07 12:56
madokapeng5-Sep-07 12:56 
QuestionGrid View Pin
seemamltn5-Sep-07 12:49
seemamltn5-Sep-07 12:49 
AnswerRe: Grid View Pin
Christian Graus5-Sep-07 15:06
protectorChristian Graus5-Sep-07 15:06 
AnswerRe: Grid View Pin
Frank Kerrigan5-Sep-07 23:07
Frank Kerrigan5-Sep-07 23:07 
QuestionOleDbDataReader Question - Urgent- Please Help!!! Pin
aro19815-Sep-07 11:25
aro19815-Sep-07 11:25 
AnswerRe: OleDbDataReader Question - Urgent- Please Help!!! Pin
Michael Potter5-Sep-07 11:40
Michael Potter5-Sep-07 11:40 
AnswerRe: OleDbDataReader Question - Urgent- Please Help!!! Pin
Pete O'Hanlon5-Sep-07 11:48
mvePete O'Hanlon5-Sep-07 11:48 
QuestionMultiple forms subscribing to the same event and data? Pin
basi00145-Sep-07 10:42
basi00145-Sep-07 10:42 
QuestionOleDbDataReader Question C# Pin
aro19815-Sep-07 10:26
aro19815-Sep-07 10:26 
QuestionThrowing events in unmanaged code Pin
Berlus5-Sep-07 10:12
Berlus5-Sep-07 10:12 
AnswerRe: Throwing events in unmanaged code Pin
Judah Gabriel Himango5-Sep-07 11:33
sponsorJudah Gabriel Himango5-Sep-07 11:33 
AnswerRe: Throwing events in unmanaged code Pin
Luc Pattyn5-Sep-07 11:48
sitebuilderLuc Pattyn5-Sep-07 11:48 
QuestionQuery Regarding SetPublicKeyToken Pin
Amar Chaudhary5-Sep-07 8:54
Amar Chaudhary5-Sep-07 8:54 
With the help of Yesterday`s discussion[^] and this[^] I worked am getting all the type in system.Windows.Forms

Code:
<font>AssemblyName name = new AssemblyName("System.Windows.Forms");
name.CultureInfo = new System.Globalization.CultureInfo("");
name.SetPublicKeyToken(new byte[] {0xb7, 0x7a, 0x5c, 0x56, 0x19, 0x34, 0xe0, 0x89});
name.Version = new Version(2, 0, 0, 0);
Assembly a = Assembly.Load(name);
Type[] types = a.GetTypes();
foreach (Type t in types)
{
    if (t.Namespace == "System.Windows.Forms")
    listBox1.Items.Add(t.ToString());
}
MessageBox.Show(listBox1.Items.Count.ToString());
</font>

I didnt Understand the meaning of
<br />
name.SetPublicKeyToken(new byte[] {0xb7,0x7a, 0x5c, 0x56, 0x19, 0x34, 0xe0, 0x89});<br />


Can you Explain This
Thanks & Regards
Amar Chaudhary



It is Good to be Important but!
it is more Important to be Good

AnswerRe: Query Regarding SetPublicKeyToken Pin
TJoe5-Sep-07 9:08
TJoe5-Sep-07 9:08 
JokeRe: Query Regarding SetPublicKeyToken Pin
Amar Chaudhary5-Sep-07 9:11
Amar Chaudhary5-Sep-07 9:11 
QuestionRe: Query Regarding SetPublicKeyToken Pin
Amar Chaudhary5-Sep-07 9:13
Amar Chaudhary5-Sep-07 9:13 

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.