Mi correggo ho scritto "System.Io" al posto di "My.Computer".
My.Computer.FileSystem.WriteAllText(...)