OpenMetaverse Protocol Library Developers API Documentation
RequestUpload Method (assetID, type, data, storeLocal)
NamespacesOpenMetaverseAssetManagerRequestUpload(UUID % , AssetType, array< Byte > [] () [] [] , Boolean)
Request an asset be uploaded to the simulator
Declaration Syntax
C#
public 
UUID 
RequestUpload(
        
out 
UUID 
assetID,
        
AssetType 
type,
        
byte[] 
data,
        
bool 
storeLocal
)
Parameters
assetID ( UUID %)
type ( AssetType)
Asset type to upload this data as
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)