Click here to Skip to main content
15,898,020 members
Home / Discussions / C#
   

C#

 
Question"How Get Type of File ? Pin
WDI3-Jan-05 6:14
WDI3-Jan-05 6:14 
AnswerRe: "How Get Type of File ? Pin
Bahadir Cambel3-Jan-05 9:05
Bahadir Cambel3-Jan-05 9:05 
AnswerRe: "How Get Type of File ? Pin
DavidNohejl3-Jan-05 10:11
DavidNohejl3-Jan-05 10:11 
GeneralRe: "How Get Type of File ? Pin
Bahadir Cambel3-Jan-05 10:22
Bahadir Cambel3-Jan-05 10:22 
GeneralRe: "How Get Type of File ? Pin
DavidNohejl3-Jan-05 10:51
DavidNohejl3-Jan-05 10:51 
GeneralRe: "How Get Type of File ? Pin
Bahadir Cambel3-Jan-05 11:42
Bahadir Cambel3-Jan-05 11:42 
General.NET Remote - Activator.GetObject Pin
Wender Oliveira3-Jan-05 5:21
Wender Oliveira3-Jan-05 5:21 
GeneralRe: .NET Remote - Activator.GetObject Pin
Adam Goossens9-Jan-05 23:48
Adam Goossens9-Jan-05 23:48 
Activator.GetObject() has no knowledege of any type registration at all - type registration exists purely for the benefit of the Activator.CreateInstance() and new activation models.

I'm fairly certain that Activator.CreateInstance() requires the type that is being remoted to be available locally as well (new definitely does).

In conclusion, I think you'll have to stick with Activator.GetObject() (and hence passing the URI a lot), unless the type information is available on the client (maybe you could implement a stub class). I'd like to be proved wrong, however! Perhaps there's an advanced use of Activator.CreateInstance() that I've missed.

This space for rent!
My Blog
GeneralFile to byte[ ] Pin
WDI3-Jan-05 4:43
WDI3-Jan-05 4:43 
GeneralRe: File to byte[ ] Pin
Wender Oliveira3-Jan-05 5:15
Wender Oliveira3-Jan-05 5:15 
GeneralRe: File to byte[ ] Pin
Dennis C. Dietrich3-Jan-05 7:40
Dennis C. Dietrich3-Jan-05 7:40 
QuestionHow to build patch Pin
Newbie_Toy3-Jan-05 3:34
Newbie_Toy3-Jan-05 3:34 
GeneralSaving Text Versions Pin
Darren Pruitt3-Jan-05 3:19
Darren Pruitt3-Jan-05 3:19 
GeneralRe: Saving Text Versions Pin
leppie3-Jan-05 5:55
leppie3-Jan-05 5:55 
GeneralInterfaces Pin
Bahadir Cambel3-Jan-05 0:05
Bahadir Cambel3-Jan-05 0:05 
GeneralRe: Interfaces Pin
jan larsen3-Jan-05 1:32
jan larsen3-Jan-05 1:32 
GeneralRe: Interfaces Pin
Bahadir Cambel3-Jan-05 8:59
Bahadir Cambel3-Jan-05 8:59 
GeneralRe: Interfaces Pin
DavidNohejl3-Jan-05 9:53
DavidNohejl3-Jan-05 9:53 
GeneralRe: Interfaces Pin
Bahadir Cambel3-Jan-05 11:52
Bahadir Cambel3-Jan-05 11:52 
GeneralRe: Interfaces Pin
DavidNohejl3-Jan-05 12:30
DavidNohejl3-Jan-05 12:30 
GeneralRe: Interfaces Pin
Bahadir Cambel3-Jan-05 14:27
Bahadir Cambel3-Jan-05 14:27 
GeneralRe: Interfaces Pin
DavidNohejl3-Jan-05 14:50
DavidNohejl3-Jan-05 14:50 
GeneralRe: Interfaces Pin
jan larsen3-Jan-05 20:17
jan larsen3-Jan-05 20:17 
GeneralRe: Interfaces Pin
DavidNohejl3-Jan-05 23:56
DavidNohejl3-Jan-05 23:56 
GeneralRe: Interfaces Pin
jan larsen4-Jan-05 0:48
jan larsen4-Jan-05 0:48 

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.