SIL.FieldWorks.WindowsInstallerQuery.IsThisBTE C# (CSharp) Méthode

IsThisBTE() public static méthode

Check the installer status to see if we are running a BTE version of FW. If the product is not installed then we assume this is a developer build and just say it's BTE anyway.
public static IsThisBTE ( ) : bool
Résultat bool
		public static bool IsThisBTE()
		{
			string productName;

			var status = GetProductInfo(InstalledProductNameProperty, out productName);

			if (status == ErrorUnknownProduct)
				return true; // Assume it's BTE if we can't find installation information

			return productName.EndsWith("BTE");
		}