PostData元素控制类_IFBroSharpPostDataElement
using System;
namespace FBroSharp.Lib;
public interface IFBroSharpPostDataElement : IFBroSharpBase, IDisposable
{
//
// 摘要:
// 是否只读
//
// Returns true if this object is read-only.
bool IsReadOnly();
//
// 摘要:
// 置空数据
//
// Remove all contents from the post data element.
void SetToEmpty();
//
// 摘要:
// 置数据_文件
//
// The post data element will represent a file.
void SetToFile(string filename);
//
// 摘要:
// 置数据
//
// The post data element will represent bytes. The bytes passed in will be copied.
void SetToBytes(byte[] data);
//
// 摘要:
// 置数据_文本
void SetToString(string data);
//
// 摘要:
// 取类型
//
// Return the type of this post data element.
new int GetType();
//
// 摘要:
// 取文件
//
// Return the file name.
string GetFile();
//
// 摘要:
// 取数据大小
//
// Return the number of bytes.
int GetBytesCount();
//
// 摘要:
// 取字节集数据
//
// Read up to |size| bytes into |bytes| and return the number of bytes actually
// read.
byte[] GetBytes();
//
// 摘要:
// 取文本数据
string GetString(bool isUTF8);
}
#if false // 反编译日志
缓存中的 14 项
------------------
解析: "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
找到单个程序集: "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
从以下位置加载: "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll"
------------------
解析: "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
找到单个程序集: "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
从以下位置加载: "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.dll"
#endif