Is it possible to add in your code : System.Globalization so the EDL file will be parse correctly if the system is in a different culture than US. i.e. - Cultures use decimal point (Israel, Japan, UK) or comma (Slovakia, France, Germany) as decimal separators. Persian uses a forward slash (/). So setting  CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US"); This way parsing EDL file will work in any setting. You can refer to https://zetcode.com/csharp/cultur