Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reduce multiple characters to one, in a string! Pin
AFSEKI7-May-07 2:09
AFSEKI7-May-07 2:09 
QuestionTreeview challenge Pin
Rick van Woudenberg6-May-07 3:07
Rick van Woudenberg6-May-07 3:07 
AnswerRe: Treeview challenge Pin
Arun.Immanuel6-May-07 3:54
Arun.Immanuel6-May-07 3:54 
GeneralRe: Treeview challenge Pin
Rick van Woudenberg6-May-07 4:23
Rick van Woudenberg6-May-07 4:23 
JokeRe: Treeview challenge Pin
PIEBALDconsult6-May-07 5:03
mvePIEBALDconsult6-May-07 5:03 
GeneralRe: Treeview challenge Pin
Rick van Woudenberg6-May-07 9:31
Rick van Woudenberg6-May-07 9:31 
GeneralRe: Treeview challenge Pin
PIEBALDconsult6-May-07 18:18
mvePIEBALDconsult6-May-07 18:18 
QuestionPlugIns - Preventing Malicious Code... Pin
Shy Agam6-May-07 2:49
Shy Agam6-May-07 2:49 
Hello experts,

I'm working on a system which would be able to dinamically load all kinds of multiplayer games.
In order for the system to know how to handle any game, I set up some ground rules using an abstract class named GameEngine.
Among other stuff, it contains an abstract ProcessMessage() method.

At first I thought of loading DLLs from a special folder, and analyzing every class which inherits GameEngine.
But then came another thought into my mind...
What if someone, instead of implementing a game, inherits GameEngine and puts down malicious code into ProcessMessage()?

My first solution is not to read DLLs from a directory, but to read only a DLL that I will code... Whenever I want to add another game, I would update the DLL...
However, this prevents other programmers from adding games to my program...

What can I do?

Thanks in advance,
Shy.
AnswerRe: PlugIns - Preventing Malicious Code... Pin
PIEBALDconsult6-May-07 18:20
mvePIEBALDconsult6-May-07 18:20 
AnswerRe: PlugIns - Preventing Malicious Code... Pin
AFSEKI7-May-07 2:19
AFSEKI7-May-07 2:19 
Questiondot or comma? Pin
Ranger496-May-07 0:26
Ranger496-May-07 0:26 
AnswerRe: dot or comma? Pin
Ranger496-May-07 1:35
Ranger496-May-07 1:35 
AnswerRe: dot or comma? [modified] Pin
DavidNohejl6-May-07 1:59
DavidNohejl6-May-07 1:59 
GeneralRe: dot or comma? Pin
Ranger496-May-07 2:23
Ranger496-May-07 2:23 
AnswerRe: dot or comma? Pin
AFSEKI7-May-07 2:21
AFSEKI7-May-07 2:21 
QuestionSending data from a form to another Pin
OlaMohammed5-May-07 21:42
OlaMohammed5-May-07 21:42 
AnswerRe: Sending data from a form to another Pin
Stefan Troschuetz5-May-07 21:52
Stefan Troschuetz5-May-07 21:52 
AnswerRe: Sending data from a form to another Pin
Sanjib Raj6-May-07 1:35
Sanjib Raj6-May-07 1:35 
AnswerRe: Sending data from a form to another Pin
AFSEKI7-May-07 2:27
AFSEKI7-May-07 2:27 
QuestionDataGrideView Pin
hadad5-May-07 20:17
hadad5-May-07 20:17 
AnswerRe: DataGrideView Pin
Muammar©5-May-07 23:38
Muammar©5-May-07 23:38 
AnswerRe: DataGrideView Pin
AFSEKI7-May-07 2:29
AFSEKI7-May-07 2:29 
QuestionMultiple Picture Boxes Pin
JMOdom5-May-07 20:01
JMOdom5-May-07 20:01 
AnswerRe: Multiple Picture Boxes Pin
BoneSoft5-May-07 20:41
BoneSoft5-May-07 20:41 
AnswerRe: Multiple Picture Boxes Pin
Arun.Immanuel5-May-07 21:17
Arun.Immanuel5-May-07 21: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.