## Aurigma Image Uploader Flash 7.2

# ASP.NET API Changes between Versions 1 and 7

- Collapse All Sections
- Language Filter ( all languages )

The Aurigma.Uploader namespace is renamed to Aurigma.ImageUploaderFlash.

## AllFilesUploadEventArgs Class

The AllFilesUploadEventArgs class is renamed to ImageUploaderFlash.AllFilesUploadedEventArgs.

### Properties

| Old Member | New Member
--- | --- | ---
| AllFilesUploadEventArgs.Files | AllFilesUploadedEventArgs.Packages
AllFilesUploadedEventArgs.UploadedFiles

## CommonDialog Class

### Properties

| Old Member | New Member
--- | --- | ---
| CommonDialog.CancelButton | CommonDialog.CancelButtonText
| CommonDialog.OkButton | CommonDialog.OkButtonText

## FileInfo Class

The FileInfo class is renamed to ImageUploaderFlash.ConvertedFile.

### Properties

| Old Member | New Member
--- | --- | ---
| FileInfo.Height | ConvertedFile.Height
| FileInfo.InputStream | ConvertedFile.FileStream
| FileInfo.IsReceived | Eliminated. The UploadedFile.ConvertedFiles collection includes items containing a received file only.
| FileInfo.Mode | ConvertedFile.Mode
| FileInfo.Name | ConvertedFile.Name
| FileInfo.Size | ConvertedFile.Size
| FileInfo.Width | ConvertedFile.Width

### Methods

| Old Member | New Member
--- | --- | ---
| FileInfo.SaveAs | ConvertedFile.SaveAs(String)
Also, you can use a new ConvertedFile.MoveTo(String) method.

## FileUploadEventArgs Class

The FileInfo class is replaced with the ImageUploaderFlash.FileUploadedEventArgs class, which contains the only property, FileUploadedEventArgs.UploadedFile.

### Properties

| Old Member | New Member
--- | --- | ---
| FileUploadEventArgs.Angle | UploadedFile.Angle
| FileUploadEventArgs.ConvertedFiles | UploadedFile.ConvertedFiles
| FileUploadEventArgs.Description | UploadedFile.Description
| FileUploadEventArgs.PackageCount | Package.PackageCount
| FileUploadEventArgs.PackageFileCount | Package.PackageFileCount
| FileUploadEventArgs.PackageGuid | Package.PackageGuid
| FileUploadEventArgs.PackageIndex | Package.PackageIndex
| FileUploadEventArgs.RelativePath | Eliminated.
| FileUploadEventArgs.SourceCreatedDateTime | UploadedFile.SourceCreatedDateTime
| FileUploadEventArgs.SourceHeight | UploadedFile.SourceHeight
| FileUploadEventArgs.SourceLastModifiedDateTime | UploadedFile.SourceLastModifiedDateTime
| FileUploadEventArgs.SourceLastModifiedDateTimeLocal | UploadedFile.SourceLastModifiedDateTimeLocal
| FileUploadEventArgs.SourceName | UploadedFile.SourceName
| FileUploadEventArgs.SourceSize | UploadedFile.SourceSize
| FileUploadEventArgs.SourceWidth | UploadedFile.SourceWidth
| FileUploadEventArgs.SourceXResolution | UploadedFile.HorizontalResolution
| FileUploadEventArgs.SourceYResolution | UploadedFile.VerticalResolution

## ImagePreviewWindow Class

### Properties

| Old Member | New Member
--- | --- | ---
| ImagePreviewWindow.ClosePreviewToolTip | ImagePreviewWindow.ClosePreviewTooltip

## ImageUploaderFlash Class

### Properties

| Old Member | New Member
--- | --- | ---
| ImageUploaderFlash.DebugScriptMode | The DebugScriptMode property is totally updated; now it means a debug mode which will be used to display messages if the DebugScriptLevel is greater than 0.
| ImageUploaderFlash.ListView | ImageUploaderFlash.UploadPane
| ImageUploaderFlash.StatusPanel | ImageUploaderFlash.StatusPane
| ImageUploaderFlash.TopPanel | ImageUploaderFlash.TopPane

## ListView Class

ListView is replaced with the UploadPane and PaneItem classes.

### Properties

| Old Member | New Member
--- | --- | ---
| ListView.AddFilesButton | UploadPane.AddFilesButtonText
| ListView.DescriptionIconToolTip | PaneItem.DescriptionEditorIconTooltip
| ListView.EnableDescription | ImageUploaderFlash.EnableDescriptionEditor
| ListView.EnableImageRotation | ImageUploaderFlash.EnableRotation
| ListView.IconItemWidth | UploadPane.IconItemWidth
| ListView.IconSize | UploadPane.IconSize
| ListView.ImageToolTip | PaneItem.ImageTooltip
| ListView.ItemToolTip | PaneItem.ItemTooltip
| ListView.RemoveIconToolTip | PaneItem.RemovalIconTooltip
| ListView.RotateIconToolTip | PaneItem.RotationIconTooltip
| ListView.ThumbnailPreviewSize | UploadPane.ThumbnailPreviewSize
| ListView.TileItemWidth | UploadPane.TileItemWidth
| ListView.TilePreviewSize | UploadPane.TilePreviewSize
| ListView.View | UploadPane.ViewMode

## Messages Class

### Properties

| Old Member | New Member
--- | --- | ---
| Messages.CannotReadFileError | Messages.CannotReadFile
| Messages.FileTooLargeError | Messages.MaxFileSizeExceeded
| Messages.FileTooSmallError | Messages.FileSizeTooSmall
| Messages.ImageHeightTooLargeError | Eliminated. Use Messages.DimensionsTooLarge instead.
| Messages.ImageHeightTooSmallError | Eliminated. Use Messages.DimensionsTooSmall instead.
| Messages.ImageWidthTooLargeError | Eliminated. Use Messages.DimensionsTooLarge instead.
| Messages.ImageWidthTooSmallError | Eliminated. Use Messages.DimensionsTooSmall instead.
| Messages.NotAllFilesWereAddedError | Messages.FilesNotAdded
| Messages.PreviewNotAvailableError | Messages.PreviewNotAvailable
| Messages.TooFewFilesError | Messages.TooFewFiles
| Messages.TooManyFilesError | Messages.MaxFileCountExceeded
| Messages.TotalFileSizeTooLargeError | Messages.MaxTotalFileSizeExceeded

## PostFields Class

### Fields

| Old Member | New Member
--- | --- | ---
| PostFields.SourceXResolution | PostFields.HorizontalResolution
| PostFields.SourceYResolution | PostFields.VerticalResolution

### Methods

| Old Member | New Member
--- | --- | ---
| new method | The PostFields.GetDateTimeValue(NameValueCollection, String) method returns a DateTime representation of the specified field value.
| new method | The PostFields.GetIntValue(NameValueCollection, String) method returns an Int32 representation of the specified field value.
| new method | The PostFields.GetStringValue(NameValueCollection, String) method returns a String representation of the specified field value.

## Restrictions Class

### Properties

| Old Member | New Member
--- | --- | ---
| Restrictions.FileFilters | Restrictions.FileMask
| Restrictions.MaxTotalSize | Restrictions.MaxTotalFileSize

## StatusPanel Class

The StatusPanel is renamed to StatusPane.

### Properties

| Old Member | New Member
--- | --- | ---
| StatusPanel.DataUploadedLabel | StatusPane.DataUploadedText
| StatusPanel.FilesPreparedLabel | StatusPane.FilesPreparedText
| StatusPanel.FilesUploadedLabel | StatusPane.FilesUploadedText
| StatusPanel.PreparingLabel | StatusPane.PreparingText
| StatusPanel.SendButtonText | ImageUploaderFlash.UploadButtonText
| StatusPanel.SendingLabel | StatusPane.SendingText
| StatusPanel.StopButtonText | ImageUploaderFlash.CancelUploadButtonText
| StatusPanel.TotalFilesLabel | StatusPane.NoFilesToUploadText
StatusPane.FilesToUploadText

## TopPanel Class

The TopPanel is renamed to TopPane.

### Properties

| Old Member | New Member
--- | --- | ---
| TopPanel.AddFilesLink | TopPane.AddFilesHyperlinkText
| TopPanel.OrLabel | TopPane.OrText
| TopPanel.RemoveAllFilesLink | TopPane.ClearAllHyperlinkText
| TopPanel.TitleLabel | TopPane.TitleText
| TopPanel.ViewComboBoxLabel | TopPane.ViewComboBoxText

## UploadRequest Class

### Properties

| Old Member | New Member
--- | --- | ---
| UploadRequest.SessionTimeout | UploadRequest.CacheAliveTimeout
| new property | UploadRequest.TempDirectory