/// <summary> /// When overridden in a descendant class, returns the data stream from the Internet resource. /// </summary> /// <returns> /// An instance of the <see cref="T:System.IO.Stream"/> class for reading data from the Internet resource. /// </returns> /// <exception cref="T:System.NotSupportedException">Any attempt is made to access the method, when the method is not overridden in a descendant class. </exception><PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode, ControlEvidence"/></PermissionSet> public override Stream GetResponseStream() { return(PathHelper.GetSafeReadStream(assembly.GetManifestResourceStream(_resource))); }