29 lines
1014 B
C#
29 lines
1014 B
C#
using System;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides the base interface to load and execute scripts for automatic proxy detection.</summary>
|
|
// Token: 0x02000245 RID: 581
|
|
public interface IWebProxyScript
|
|
{
|
|
/// <summary>Closes a script.</summary>
|
|
// Token: 0x060014C0 RID: 5312
|
|
void Close();
|
|
|
|
/// <summary>Loads a script.</summary>
|
|
/// <returns>A <see cref="T:System.Boolean" /> indicating whether the script was successfully loaded.</returns>
|
|
/// <param name="scriptLocation">Internal only.</param>
|
|
/// <param name="script">Internal only.</param>
|
|
/// <param name="helperType">Internal only.</param>
|
|
// Token: 0x060014C1 RID: 5313
|
|
bool Load(global::System.Uri scriptLocation, string Script, Type helperType);
|
|
|
|
/// <summary>Runs a script.</summary>
|
|
/// <returns>A <see cref="T:System.String" />.</returns>
|
|
/// <param name="url">Internal only.</param>
|
|
/// <param name="host">Internal only.</param>
|
|
// Token: 0x060014C2 RID: 5314
|
|
string Run(string url, string host);
|
|
}
|
|
}
|