//************************************************************************
        // Cloudmersive calls
        //************************************************************************
        static public LanguageDetectionResponse DetectLanguage(string text)
        {
            // Configure API key authorization: Apikey
            Configuration.Default.AddApiKey("Apikey", APIKey);

            var apiInstance = new LanguageDetectionApi();       // Which API to call

            try
            {
                // Detect language of text
                LanguageDetectionResponse result = apiInstance.LanguageDetectionPost(text);
                return(result);
            }
            catch (Exception)
            {
                return(null);
            }
        }
 public void Init()
 {
     instance = new LanguageDetectionApi();
 }