/// <summary> /// Sets the content. /// </summary> /// <param name="Content">The content.</param> internal void SetContent(string Content) { this.Content = Content; if (!string.IsNullOrEmpty(Content)) { // We don't want to find urls in pages heavier than 1MB. if (Content.Length >= 100000) { return; } DetectedUrls.AddRange(ContentHelpers.GetAllUrls(this)); } }