TCnWebProxy Class
Contains HTTP proxy settings for the WebRequest class.
type TCnWebProxy = class(TClrBaseComponent) end;
The TCnWebProxy type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates and initializes a TCnWebProxy instance. (Overrides TClrBaseComponent.Create(TComponent).) | |
Destroy | Frees the resources allocated with a TCnWebProxy instance. (Overrides TClrBaseComponent.Destroy.) |
Name | Description | |
---|---|---|
Address | Gets or sets the address of the proxy server. | |
BypassAddressList | Gets or sets an array of addresses that do not use the proxy server. | |
BypassArrayList | Gets a list of addresses that do not use the proxy server. | |
BypassProxyOnLocal | Gets or sets a value that indicates whether to bypass the proxy server for local addresses. | |
Credentials | Gets or sets the credentials to submit to the proxy server for authentication. | |
DefaultClrObject | Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.) | |
Password | Gets or sets the password for the user name associated with the credentials. | |
UseDefaultCredentials | Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests. | |
UserName | Gets or sets the user name associated with the credentials. | |
WebProxy | Gets the .Net WebProxy object as interface. |
Name | Description | |
---|---|---|
Dispose | Releases the resources used by the Component. (Inherited from TClrBaseComponent.) | |
DoGetDefaultClrObject | Represents method | |
DoGetDotNetBaseComponent | Represents method | |
DoOnBypassArrayChanged(TObject) | Represents method | |
GetClrObject | Represents method | |
GetProxy(String) | Overloaded. Returns the proxied URI for a request. | |
GetProxy(_Uri) | Overloaded. Returns the proxied URI for a request. | |
IsBypassed(String) | Overloaded. Indicates whether to use the proxy server for the specified host. | |
IsBypassed(_Uri) | Overloaded. Indicates whether to use the proxy server for the specified host. | |
RegisterEventCallBack(ClrWString,Pointer) | Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrBaseComponent.) | |
RegisterEventSource | Register the Delphi object which will raise the .Net event handler. (Inherited from TClrBaseComponent.) | |
UnRegisterEventCallBack(ClrWString,Pointer) | Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrBaseComponent.) | |
UnRegisterEventSource | Unregister the Delphi object which raised the .Net event handler. (Inherited from TClrBaseComponent.) |
See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this component.