Generate GUID

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff Lynch

    #1

    Generate GUID

    How do I create a new GUID programatically like the "Create Guid" tool does
    in VS.NET?


    --
    Jeff Lynch
    "A BizTalk Enthusiast"



  • Arne Janning

    #2
    Re: Generate GUID

    "Jeff Lynch" <jeff.lynch@hou ston-lynch.com> schrieb[color=blue]
    > How do I create a new GUID programatically like the "Create Guid" tool
    > does
    > in VS.NET?[/color]

    Hi Jeff,

    use NewGuid() of the System.Guid-Structure.

    [C#]
    Guid g = Guid.NewGuid();

    [VB.NET]
    Dim g as Guid = Guid.NewGuid()

    http://msdn.microsoft.com/library/en...classtopic.asp

    Cheers

    Arne Janning


    Comment

    Working...