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

C#

 
GeneralRe: c# Marshalling unmanaged type char[xx] Pin
Tym!18-Sep-03 9:37
Tym!18-Sep-03 9:37 
GeneralRe: c# Marshalling unmanaged type char[xx] Pin
gmar19-Sep-03 0:34
gmar19-Sep-03 0:34 
GeneralRe: c# Marshalling unmanaged type char[xx] Pin
gmar30-Sep-03 1:41
gmar30-Sep-03 1:41 
GeneralRe: c# Marshalling unmanaged type char[xx] Pin
leppie19-Sep-03 8:39
leppie19-Sep-03 8:39 
GeneralRe: c# Marshalling unmanaged type char[xx] Pin
gmar22-Sep-03 22:48
gmar22-Sep-03 22:48 
GeneralUnique Remote thread/context ID Pin
Dr Herbie18-Sep-03 3:31
Dr Herbie18-Sep-03 3:31 
GeneralRe: Unique Remote thread/context ID Pin
Arjan Einbu18-Sep-03 6:33
Arjan Einbu18-Sep-03 6:33 
GeneralRe: Unique Remote thread/context ID Pin
Dr Herbie18-Sep-03 22:30
Dr Herbie18-Sep-03 22:30 
Arjan Einbu wrote:
GUIDs are unique. Will they do?

My intent for this design is to remove any explicit token passing. I already have a session object which has to be passed accross to the remote object to identify the user. I wanted to avoid having to explicitly pass any extra variables, so I was hoping that the thread/context/appdomain might contain something I could use to uniquely identify the client.

E.g. Instead of:

public void SAO:PerformAction(token ClientIdentifier, int parameter)<br />
{<br />
    CheckSecurity(ClientIdentifier);<br />
    DoStuff(parameter);<br />
}


I could do:

public void SAO:PerformAction(int parameter)<br />
{<br />
    CheckSecurity( GetUniqueTokenFromCallersContext() );<br />
    DoStuff(parameter);<br />
}


I'm trying to make the remoting interfaces as seamless as possible and I personally hate having to have an identifier token passed to every SAO method. Dead | X|

Maybe I'm hoping for too much. Sigh | :sigh:



Dr Herbie.

Remember, half the people out there have below average IQs.
GeneralClosing an MDI Child Form Pin
.gonad18-Sep-03 3:02
.gonad18-Sep-03 3:02 
GeneralRe: Closing an MDI Child Form Pin
.gonad18-Sep-03 3:37
.gonad18-Sep-03 3:37 
GeneralRe: Closing an MDI Child Form Pin
sumeat18-Sep-03 15:13
sumeat18-Sep-03 15:13 
GeneralScroll using keyboard on Printpreview control Pin
Subrat_Gaur17-Sep-03 22:08
Subrat_Gaur17-Sep-03 22:08 
GeneralPOP3 C# client having authentication problems when trying to retrieve emails from POP3 server Pin
silentweedhopper17-Sep-03 22:03
silentweedhopper17-Sep-03 22:03 
GeneralRe: POP3 C# client having authentication problems when trying to retrieve emails from POP3 server Pin
Steve S18-Sep-03 2:29
Steve S18-Sep-03 2:29 
GeneralRe: POP3 C# client having authentication problems when trying to retrieve emails from POP3 server Pin
MeisterBiber20-Sep-03 11:22
MeisterBiber20-Sep-03 11:22 
GeneralHaving trouble scrolling a RichTextBox Pin
Anonymous17-Sep-03 17:52
Anonymous17-Sep-03 17:52 
GeneralRe: Having trouble scrolling a RichTextBox Pin
J. Dunlap17-Sep-03 18:16
J. Dunlap17-Sep-03 18:16 
GeneralOh, OnPaintBackground! Pin
Arun Bhalla17-Sep-03 12:53
Arun Bhalla17-Sep-03 12:53 
GeneralRe: Oh, OnPaintBackground! Pin
leppie18-Sep-03 7:07
leppie18-Sep-03 7:07 
GeneralRe: Oh, OnPaintBackground! Pin
Arun Bhalla18-Sep-03 7:12
Arun Bhalla18-Sep-03 7:12 
GeneralRe: Oh, OnPaintBackground! Pin
leppie18-Sep-03 7:36
leppie18-Sep-03 7:36 
GeneralDataGrid binding issues Pin
james-cxx17-Sep-03 12:35
james-cxx17-Sep-03 12:35 
GeneralRe: DataGrid binding issues Pin
Braulio Dez19-Sep-03 2:17
Braulio Dez19-Sep-03 2:17 
GeneralC# Wrapper Variant SafeArray Pin
Member 301660717-Sep-03 11:16
Member 301660717-Sep-03 11:16 
GeneralPermanent Line on form Pin
pahluwalia17-Sep-03 10:27
pahluwalia17-Sep-03 10:27 

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.