Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Create guid in C#?

Create guid in C#?

Scheduled Pinned Locked Moved C#
csharptutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    How to generate a guid (global Unique Identifier) in C#? Thanks chris#

    A J 2 Replies Last reply
    0
    • L Lost User

      How to generate a guid (global Unique Identifier) in C#? Thanks chris#

      A Offline
      A Offline
      Andres Manggini
      wrote on last edited by
      #2

      I know this one: Marshal.GenerateGuidForType [C#] public static Guid GenerateGuidForType( Type type ); Returns the GUID for the specified type, or generates a GUID using the algorithm used by the Type Library Exporter (TlbExp.exe). Andres Manggini. Buenos Aires - Argentina.

      1 Reply Last reply
      0
      • L Lost User

        How to generate a guid (global Unique Identifier) in C#? Thanks chris#

        J Offline
        J Offline
        James T Johnson
        wrote on last edited by
        #3

        Guid.NewGuid(); James Sonork ID: 100.11138 - Hasaki "Smile your little smile, take some tea with me awhile. And every day we'll turn another page. Behind our glass we'll sit and look at our ever-open book, One brown mouse sitting in a cage." "One Brown Mouse" from Heavy Horses, Jethro Tull 1978

        N 1 Reply Last reply
        0
        • J James T Johnson

          Guid.NewGuid(); James Sonork ID: 100.11138 - Hasaki "Smile your little smile, take some tea with me awhile. And every day we'll turn another page. Behind our glass we'll sit and look at our ever-open book, One brown mouse sitting in a cage." "One Brown Mouse" from Heavy Horses, Jethro Tull 1978

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          James T. Johnson wrote: Guid.NewGuid(); Boy. That is sure easy! Nish

          Oh, I don't know why she's leaving, or where she's gonna go I guess she's got her reasons but I just don't wanna know 'Cos for 24 years I've been living next door to Alice 24 years just waitin' for a chance To tell her how I feel and maybe get a second glance Now I gotta get used to not living next door to Alice

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups