473,395 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Guid

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
3 11054
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Louis Frolio | last post by:
Greetings All, I have read many upon many articles here regarding GUID data types and uniqueness. There have been many opinions regarding the effectiveness of GUID's and when they should/should...
9
by: Rene | last post by:
I am using the Guid.Empty value ("00000000-0000-0000-0000-000000000000") to represent a special meaning. The problem is that I don't know if there is a chance that a command like...
5
by: rcolby | last post by:
Evening, Wondering if someone can point me in the right direction, on how I would compare a system.guid with a system.byte. system.guid (pulled from sql server table with a data type of...
5
by: Michael Primeaux | last post by:
I have a simple .NET 2.0 web service created with VS.NET 2005 with a single web method with the following signature: void HelloWorld(Guid parameter1); When calling this method I receive the...
2
by: Troll | last post by:
Windows XP Pro VS 2005 & C# (I'm fairly new to C# but have doing VB.Net going on 2yrs and VB6 for 5yrs.) I'm using C# to build a custom RSS generator. I'm having trouble building the guid...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.