Show / Hide Table of Contents

# Delegate CreateDelegate

###### Namespace: pdftron.SDF

###### Assembly: PDFNet.dll

##### Syntax

    public delegate SecurityHandler CreateDelegate(string name, int key_len, int enc_code)

##### Parameters

Type | Name | Description
--- | --- | ---
string | name |
int | key_len |
int | enc_code |

##### Returns

Type | Description
--- | ---
SecurityHandler |

### Constructors

#### CreateDelegate(object, IntPtr)

##### Declaration

    public CreateDelegate(object A_0, IntPtr A_1)

##### Parameters

Type | Name | Description
--- | --- | ---
object | A_0 |
IntPtr | A_1 |

### Methods

#### BeginInvoke(string, int, int, AsyncCallback, object)

##### Declaration

    public IAsyncResult BeginInvoke(string name, int key_len, int enc_code, AsyncCallback callback, object obj)

##### Parameters

Type | Name | Description
--- | --- | ---
string | name |
int | key_len |
int | enc_code |
AsyncCallback | callback |
object | obj |

##### Returns

Type | Description
--- | ---
IAsyncResult |

#### EndInvoke(IAsyncResult)

##### Declaration

    public SecurityHandler EndInvoke(IAsyncResult result)

##### Parameters

Type | Name | Description
--- | --- | ---
IAsyncResult | result |

##### Returns

Type | Description
--- | ---
SecurityHandler |

#### Invoke(string, int, int)

##### Declaration

    public SecurityHandler Invoke(string name, int key_len, int enc_code)

##### Parameters

Type | Name | Description
--- | --- | ---
string | name |
int | key_len |
int | enc_code |

##### Returns

Type | Description
--- | ---
SecurityHandler |