Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
AnswerRe: method delivers a structure, but there is no type that handles it... what do i do? Pin
riced16-Apr-09 11:56
riced16-Apr-09 11:56 
QuestionRe: method delivers a structure, but there is no type that handles it... what do i do? [modified] Pin
bbranded17-Apr-09 3:14
bbranded17-Apr-09 3:14 
AnswerRe: method delivers a structure, but there is no type that handles it... what do i do? Pin
riced17-Apr-09 5:59
riced17-Apr-09 5:59 
GeneralRe: method delivers a structure, but there is no type that handles it... what do i do? [modified] Pin
bbranded17-Apr-09 6:07
bbranded17-Apr-09 6:07 
GeneralRe: method delivers a structure, but there is no type that handles it... what do i do? Pin
riced17-Apr-09 6:22
riced17-Apr-09 6:22 
GeneralRe: method delivers a structure, but there is no type that handles it... what do i do? Pin
bbranded17-Apr-09 9:38
bbranded17-Apr-09 9:38 
AnswerRe: method delivers a structure, but there is no type that handles it... what do i do? Pin
bbranded17-Apr-09 6:00
bbranded17-Apr-09 6:00 
GeneralRe: method delivers a structure, but there is no type that handles it... what do i do? [modified] Pin
bbranded17-Apr-09 8:08
bbranded17-Apr-09 8:08 
It doesn't appear that this will work, since c# is strongly typed, and typeof(known_type); where this is not a known type.

However, maybe creating a strongly typed class for the WMI class will work: How To: Use Strongly-Typed Objects[^]

MgmtClassGen.exe[^]


[UPDATE]

Here are the classes generated for windows 2003 r2 DFS-R[^]

modified on Friday, April 17, 2009 3:34 PM

QuestionWhat is the best way to build listener ? Pin
E_Gold16-Apr-09 10:38
E_Gold16-Apr-09 10:38 
Questionexcel ado.net sql problem Pin
haseeb_saeed16-Apr-09 9:44
haseeb_saeed16-Apr-09 9:44 
AnswerRe: excel ado.net sql problem Pin
Henry Minute16-Apr-09 10:21
Henry Minute16-Apr-09 10:21 
GeneralRe: excel ado.net sql problem Pin
buachaill cliste16-Apr-09 11:38
buachaill cliste16-Apr-09 11:38 
Questioncreating a playlist of videos Pin
mist_psycho16-Apr-09 9:17
mist_psycho16-Apr-09 9:17 
AnswerRe: creating a playlist of videos Pin
Christian Graus16-Apr-09 12:16
protectorChristian Graus16-Apr-09 12:16 
Generalcreating a playlist of videos Pin
mist_psycho16-Apr-09 19:51
mist_psycho16-Apr-09 19:51 
QuestionI am looking for a great C# learning book - trying to switch from VB.NET to C#. Pin
Slow Learner16-Apr-09 8:36
Slow Learner16-Apr-09 8:36 
AnswerRe: I am looking for a great C# learning book - trying to switch from VB.NET to C#. Pin
Eddy Vluggen16-Apr-09 8:45
professionalEddy Vluggen16-Apr-09 8:45 
GeneralRe: I am looking for a great C# learning book - trying to switch from VB.NET to C#. Pin
Slow Learner16-Apr-09 8:58
Slow Learner16-Apr-09 8:58 
AnswerRe: I am looking for a great C# learning book - trying to switch from VB.NET to C#. Pin
Mycroft Holmes16-Apr-09 15:06
professionalMycroft Holmes16-Apr-09 15:06 
GeneralRe: I am looking for a great C# learning book - trying to switch from VB.NET to C#. Pin
Slow Learner17-Apr-09 2:14
Slow Learner17-Apr-09 2:14 
QuestionListBox Binding Problem. Pin
hdv21216-Apr-09 8:32
hdv21216-Apr-09 8:32 
AnswerRe: ListBox Binding Problem. Pin
Luc Pattyn16-Apr-09 9:03
sitebuilderLuc Pattyn16-Apr-09 9:03 
GeneralRe: ListBox Binding Problem. Pin
Henry Minute16-Apr-09 9:06
Henry Minute16-Apr-09 9:06 
GeneralRe: ListBox Binding Problem. Pin
hdv21216-Apr-09 9:35
hdv21216-Apr-09 9:35 
GeneralRe: ListBox Binding Problem. Pin
Luc Pattyn16-Apr-09 10:58
sitebuilderLuc Pattyn16-Apr-09 10:58 

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.