Property | Type | Description | |
---|---|---|---|
ProgressBar | cProgressBar | ||
rnd |
Method | Description | |
---|---|---|
AddLog ( string URL, string info ) : void |
Add a recently uploaded file to the upload log
|
|
Backup ( byte buffer, string filename ) : void |
Make a backup of the given file buffer as the current filename
|
|
Backup ( string sourceFile ) : void |
Make a backup of the given source file
|
|
Debug ( string str ) : void |
Writes to debug.txt
|
|
Drag ( Action |
Drag to upload
|
|
Epoch ( ) : long |
Returns the linux epoch time (seconds passed since 1/1/1970)
|
|
GetBetween ( string Source, string Str1, string Str2 ) : string |
Get a string between 2 other strings from the source string
|
|
GetEncoder ( |
Returns the image encoder for the given ImageFormat
|
|
GetProxy ( ) : |
Get a WebProxy object from the global proxy settings in the ClipUpload application
|
|
ImagePipeline ( Image img ) : void |
Transforms an image based on global upload settings
|
|
LongDataEscape ( string Str ) : string |
Alternative of M:System.Uri.EscapeDataString(System.String) to allow for much longer data to be escaped
|
|
MD5 ( string S ) : string |
Generate an MD5 hash of the given string
|
|
PopulateKeysCombobox ( |
Populate a keys combobox with possible keys to press
|
|
RandomFilename ( int len, string chars = "abcdefghijklmnopqrstuvwxyz0123456789" ) : string |
Returns a random filename based on the length and the allowed characters given
|
|
RandomString ( int len, string chars = "abcdefghijklmnopqrstuvwxyz0123456789" ) : string |
Returns a random string based on the length and the allowed characters given
|
|
SetClipboardText ( string Text ) : void |
Safely sets the clipboard text. Refrain from using Clipboard.SetText directly, instead, use this function!
|
|
SetShortcuts ( bool enabled ) : void |
Enables or disables shortcuts in ClipUpload.
|
|
base64Decode ( string input ) : string |
Decode a base64 string
|
|
base64Encode ( string input ) : string |
Encode a string in base64
|
|
getDateString ( ) : string |
Returns a date string without any delimiters in the following order: Day, month, year, hour, minute, second
|
Method | Description | |
---|---|---|
GetOpenClipboardWindow ( ) : |
||
formatFilename ( string origFilename ) : string |
public AddLog ( string URL, string info ) : void | ||
URL | string | The URL |
info | string | Additional info that will appear in the recent uploads list |
return | void |
public Backup ( byte buffer, string filename ) : void | ||
buffer | byte | The file buffer |
filename | string | The filename |
return | void |
public Backup ( string sourceFile ) : void | ||
sourceFile | string | The source filename |
return | void |
public Drag ( Action |
||
doneDragging | Action |
Dragging callback |
return | void |
public GetBetween ( string Source, string Str1, string Str2 ) : string | ||
Source | string | The source string |
Str1 | string | The first string, for example: "<link>" |
Str2 | string | The second string, for example: "</link>" |
return | string |
public GetEncoder ( |
||
format | The ImageFormat to get the encoder for | |
return | System.Drawing.Imaging.ImageCodecInfo |
public ImagePipeline ( Image img ) : void | ||
img | Image | The base image |
return | void |
public LongDataEscape ( string Str ) : string | ||
Str | string | The string to be escaped |
return | string |
public PopulateKeysCombobox ( |
||
comboBox | The combobox | |
return | void |
public RandomFilename ( int len, string chars = "abcdefghijklmnopqrstuvwxyz0123456789" ) : string | ||
len | int | The length |
chars | string | Allowed characters |
return | string |
public static RandomString ( int len, string chars = "abcdefghijklmnopqrstuvwxyz0123456789" ) : string | ||
len | int | The length |
chars | string | Allowed characters |
return | string |
public SetClipboardText ( string Text ) : void | ||
Text | string | The text to set the clipboard to |
return | void |
public static SetShortcuts ( bool enabled ) : void | ||
enabled | bool | Bool to enable or disable |
return | void |
public base64Decode ( string input ) : string | ||
input | string | The base64 string to be decoded |
return | string |
public base64Encode ( string input ) : string | ||
input | string | The string to be encoded |
return | string |