By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,215 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,215 IT Pros & Developers. It's quick & easy.

Guid

P: n/a
Hi all,

I'm just wondering if there is a way of obtain the guid from the clientside
in C#. Or this is just an impossible thing to do without Active Directory as
the guids are unique? I've tried looking for it everywhere but I cant find
any source on this.

Thanks in advance

Alex


Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
If you are just trying to create a new guid, check out
Guid.NewGuid Method

http://msdn.microsoft.com/library/de...wguidtopic.asp

Cheers

_aaron

"news.microsoft.com" <at***@learningfast.com> wrote in message
news:OY**************@tk2msftngp13.phx.gbl...
Hi all,

I'm just wondering if there is a way of obtain the guid from the clientside in C#. Or this is just an impossible thing to do without Active Directory as the guids are unique? I've tried looking for it everywhere but I cant find
any source on this.

Thanks in advance

Alex

Nov 15 '05 #2

P: n/a
Hi Aaron,

Thanks for the reply.
I'm not trying to create a new guid, i want to find the guid value from the
clients computer and use this as their username.

Thanks in advance

Alex

"aaron" <aa***@raging.com> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
If you are just trying to create a new guid, check out
Guid.NewGuid Method

http://msdn.microsoft.com/library/de...wguidtopic.asp
Cheers

_aaron

"news.microsoft.com" <at***@learningfast.com> wrote in message
news:OY**************@tk2msftngp13.phx.gbl...
Hi all,

I'm just wondering if there is a way of obtain the guid from the clientside
in C#. Or this is just an impossible thing to do without Active Directory as
the guids are unique? I've tried looking for it everywhere but I cant

find any source on this.

Thanks in advance

Alex


Nov 15 '05 #3

P: n/a
you should use the user's username in which case, rather than an identifier
from the PC (presumably you mean the mac address?) they might happen to be
sitting at at the time. so saying it is possible to get the mac address by
adding a reference to System.Management and use a ManagementObjectSearcher
to retrieve it...

r.
"Alex Ting" <at***@learningfast.com> wrote in message
news:eC**************@TK2MSFTNGP10.phx.gbl...
Hi Aaron,

Thanks for the reply.
I'm not trying to create a new guid, i want to find the guid value from the clients computer and use this as their username.

Thanks in advance

Alex

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.