guid.ToStringB()

Converts a guid to its string representation in curly braces, and the groups separated by hyphens.