OpenMetaverse Protocol Library Developers API Documentation
RequestUpload Method (type, data, storeLocal)
NamespacesOpenMetaverseAssetManagerRequestUpload(AssetType, array< Byte > [] () [] [] , Boolean)
Request an asset be uploaded to the simulator
Declaration Syntax
C#
public 
UUID 
RequestUpload(
        
AssetType 
type,
        
byte[] 
data,
        
bool 
storeLocal
)
Parameters
type ( AssetType)
The of the asset being uploaded
data ( array< Byte > [] () [] [] )
A byte array containing the encoded asset data
storeLocal ( Boolean)
If True, the asset once uploaded will be stored on the simulator in which the client was connected in addition to being stored on the asset server
Return Value
The of the transfer, can be used to correlate the upload with events being fired
See Also

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)