Guid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • news.microsoft.com

    #1

    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




  • aaron

    #2
    Re: Guid

    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" <ating@learning fast.com> wrote in message
    news:OY78e1uYDH A.2384@tk2msftn gp13.phx.gbl...[color=blue]
    > Hi all,
    >
    > I'm just wondering if there is a way of obtain the guid from the[/color]
    clientside[color=blue]
    > in C#. Or this is just an impossible thing to do without Active Directory[/color]
    as[color=blue]
    > the guids are unique? I've tried looking for it everywhere but I cant find
    > any source on this.
    >
    > Thanks in advance
    >
    > Alex
    >
    >
    >
    >[/color]


    Comment

    • Alex Ting

      #3
      Re: Guid

      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" <aaron@raging.c om> wrote in message
      news:uvz843uYDH A.3436@tk2msftn gp13.phx.gbl...[color=blue]
      > If you are just trying to create a new guid, check out
      > Guid.NewGuid Method
      >
      >[/color]
      http://msdn.microsoft.com/library/de...wguidtopic.asp[color=blue]
      >
      > Cheers
      >
      > _aaron
      >
      > "news.microsoft .com" <ating@learning fast.com> wrote in message
      > news:OY78e1uYDH A.2384@tk2msftn gp13.phx.gbl...[color=green]
      > > Hi all,
      > >
      > > I'm just wondering if there is a way of obtain the guid from the[/color]
      > clientside[color=green]
      > > in C#. Or this is just an impossible thing to do without Active[/color][/color]
      Directory[color=blue]
      > as[color=green]
      > > the guids are unique? I've tried looking for it everywhere but I cant[/color][/color]
      find[color=blue][color=green]
      > > any source on this.
      > >
      > > Thanks in advance
      > >
      > > Alex
      > >
      > >
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Robbie Harris

        #4
        Re: Guid

        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.Manageme nt and use a ManagementObjec tSearcher
        to retrieve it...

        r.
        "Alex Ting" <ating@learning fast.com> wrote in message
        news:eCLCV5uYDH A.1940@TK2MSFTN GP10.phx.gbl...
        [color=blue]
        > Hi Aaron,
        >
        > Thanks for the reply.
        > I'm not trying to create a new guid, i want to find the guid value from[/color]
        the[color=blue]
        > clients computer and use this as their username.
        >
        > Thanks in advance
        >
        > Alex[/color]


        Comment

        Working...