Could you not just store the .Net Guid as a string and read it into Java? That way you don’t need to worry about byte order or anything.
If not then This explains how the bytes are laid out in C#
More Related Contents:
- How to Create Deterministic Guids
- Returning type Java and C# [closed]
- Is shifting bits faster than multiplying and dividing in Java? .NET? [closed]
- Why C# implements methods as non-virtual by default?
- What are major differences between C# and Java?
- What is a good unique PC identifier?
- Extending an enum via inheritance
- Why does Guid.ToByteArray() order the bytes the way it does?
- Does C# have a way of giving me an immutable Dictionary?
- How can I generate UUID in C#
- Are Java and C# regular expressions compatible?
- DataTable equivalent in Java [duplicate]
- Encryption compatible between Android and C#
- How captured value in anonymous methods are implemented in .NET
- Unable to read data from the transport connection : An existing connection was forcibly closed by the remote host
- How do I check for nulls in an ‘==’ operator overload without infinite recursion?
- C# Create New T()
- Getting the thread ID from a thread
- Is there a faster way to scan through a directory recursively in .NET?
- Getting a System.Type from type’s partial name
- Queuing in OneWay WCF Messages using Windows Service and SQL Server
- Proper way to Dispose of a BackGroundWorker
- Transparent window layer that is click-through and always stays on top
- Setting a cookie in a WebBrowser control
- Program and debugger quit without indication of problem
- file write permission issue under “Program Files” folder
- How to make inline functions in C#
- Does .Disposing a StreamWriter close the underlying stream?
- CanExecuteChanged event of ICommand
- Garbage Collection not happening even when needed