When i try to set Hyperlink.FilePath to a shared file location it is losing the forward slash. Because of this the hyperlink formation is not correct in the word Doc.
I am using a .NET C# Console App
Here is the code i use:
Hyperlink hyperlink = new Hyperlink(entity as WField);
hyperlink.FilePath = @"\\\\domainname\\FolderName\\FileName";
But the FilePath loses the first \\\\ as soon as it is set.
What am i doing wrong.