ProScript .NET Documentation
ProScript .NET Documentation
ProScript
Device Class
Device Methods
UpdateFirmwareFromFw Method
UpdateFirmwareFromFw Method (Stream)
UpdateFirmwareFromFw Method (Stream, IFirmwareListener)

# Device UpdateFirmwareFromFw Method (Stream, IFirmwareListener)

This method attempts to update firmware on the device from a Scriptel firmware stream. All new firmware is provided in this format which provides a certain amount of protection against using the wrong firmware.

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public void UpdateFirmwareFromFw(
    	Stream stream,
    	IFirmwareListener callback
    )

    Public Sub UpdateFirmwareFromFw (
    	stream As Stream,
    	callback As IFirmwareListener
    )

    public:
    void UpdateFirmwareFromFw(
    	Stream^ stream,
    	IFirmwareListener^ callback
    )

    member UpdateFirmwareFromFw :
            stream : Stream *
            callback : IFirmwareListener -> unit

#### Parameters

stream
  Type: System.IO
  Stream
  stream to read the firmware from
callback
  Type: ProScript
  IFirmwareListener
  callback to report progress (optional)

See Also

#### Reference

Device Class
UpdateFirmwareFromFw Overload
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.