OpenMetaverse Protocol Library Developers API Documentation
UUID Structure
NamespacesOpenMetaverseUUID
A 128-bit Universally Unique Identifier, used throughout the Second Life networking protocol
Declaration Syntax
C#
[
SerializableAttribute]
public 
struct 
UUID : 
IComparable<
UUID>, 
        
IEquatable<
UUID>
Members
All Members Constructors Methods Fields



Icon Member Description
UUID(String)
Constructor that takes a string UUID representation

UUID(Guid)
Constructor that takes a System.Guid object

UUID( array< Byte > [] () [] [] , Int32)
Constructor that takes a byte array containing a UUID

UUID(UInt64)
Constructor that takes an unsigned 64-bit unsigned integer to convert to a UUID

UUID(UUID)
Copy constructor

Combine(UUID, UUID)
Combine two UUIDs together by taking the MD5 hash of a byte array containing both UUIDs

CompareTo(UUID)
IComparable.CompareTo implementation

CRC () () () ()
Calculate an LLCRC (cyclic redundancy check) for this UUID

Equality(UUID, UUID)
Equals operator

Equals(Object)
Comparison function
(Overrides ValueType. Equals(Object).)
Equals(UUID)
Comparison function

ExclusiveOr(UUID, UUID)
XOR operator

Explicit Narrowing Explicit Explicit Explicit (String to UUID)
String typecasting operator

FromBytes( array< Byte > [] () [] [] , Int32)
Assigns this UUID from 16 bytes out of a byte array

GetBytes () () () ()
Returns a copy of the raw bytes for this UUID

GetHashCode () () () ()
Return a hash code for this UUID, used by .NET for hash tables
(Overrides ValueType. GetHashCode () () () () .)
GetULong () () () ()
Create a 64-bit integer representation from the second half of this UUID

Guid
The System.Guid object this struct wraps around

Inequality(UUID, UUID)
Not equals operator

Parse(String)
Generate a UUID from a string

Random () () () ()

ToBytes( array< Byte > [] () [] [] , Int32)
Writes the raw bytes for this UUID to a byte array

ToString () () () ()
Get a hyphenated string representation of this UUID
(Overrides ValueType. ToString () () () () .)
TryParse(String, UUID % )
Generate a UUID from a string

Zero
An UUID with a value of all zeroes

Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0