DPB2Class · Utilities and settings

Misc

Provides misc data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Framework.Helpers

public static class Misc
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

3 declared here

GetRandomSelectedProfile

MethodLink ↗
public static string Misc.GetRandomSelectedProfile()

Returns random selected profile.

Return type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The string result.

SetRandomSelectedProfile

MethodLink ↗
public static void Misc.SetRandomSelectedProfile(string profile)

Calls SetRandomSelectedProfile on Misc with profile. This overload has no return value.

Return type: voidNo return value.

Parameters

profile
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies profile.

ToBytesCount

MethodLink ↗
public static string Misc.ToBytesCount(long bytes)

Calls ToBytesCount on Misc with bytes and returns string. Open the return contract below before using the result.

Return type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

bytes
Parameter type: longNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies bytes.

Returns: The string result.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.