casting string to GUid .net code example
Example: how to convert string to guid c#
// string naar guid
Guid newGuid = Guid.Parse("9940548e-dadc-405f-83f9-57431685cf5d")
// string naar guid
Guid newGuid = Guid.Parse("9940548e-dadc-405f-83f9-57431685cf5d")