Click here to Skip to main content
15,891,976 members
Home / Discussions / C#
   

C#

 
AnswerRe: System.Timers.Timer() called method doesn't run all code Pin
Richard Deeming10-Jun-20 1:30
mveRichard Deeming10-Jun-20 1:30 
AnswerRe: System.Timers.Timer() called method doesn't run all code Pin
Luc Pattyn10-Jun-20 1:31
sitebuilderLuc Pattyn10-Jun-20 1:31 
QuestionUnable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395810-Jun-20 0:30
Member 1483395810-Jun-20 0:30 
AnswerRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
OriginalGriff10-Jun-20 0:40
mveOriginalGriff10-Jun-20 0:40 
AnswerRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Dave Kreskowiak10-Jun-20 2:14
mveDave Kreskowiak10-Jun-20 2:14 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395810-Jun-20 5:33
Member 1483395810-Jun-20 5:33 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Dave Kreskowiak10-Jun-20 19:17
mveDave Kreskowiak10-Jun-20 19:17 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395811-Jun-20 3:00
Member 1483395811-Jun-20 3:00 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Dave Kreskowiak11-Jun-20 3:21
mveDave Kreskowiak11-Jun-20 3:21 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395811-Jun-20 3:47
Member 1483395811-Jun-20 3:47 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Dave Kreskowiak11-Jun-20 3:50
mveDave Kreskowiak11-Jun-20 3:50 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395811-Jun-20 6:31
Member 1483395811-Jun-20 6:31 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Dave Kreskowiak11-Jun-20 7:55
mveDave Kreskowiak11-Jun-20 7:55 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Jörgen Andersson11-Jun-20 8:34
professionalJörgen Andersson11-Jun-20 8:34 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395811-Jun-20 21:24
Member 1483395811-Jun-20 21:24 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Jörgen Andersson11-Jun-20 22:31
professionalJörgen Andersson11-Jun-20 22:31 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395812-Jun-20 3:11
Member 1483395812-Jun-20 3:11 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Jörgen Andersson12-Jun-20 3:20
professionalJörgen Andersson12-Jun-20 3:20 
GeneralRe: Unable to load file or assembly 'Oracle.DataAccess' Pin
Member 1483395812-Jun-20 3:12
Member 1483395812-Jun-20 3:12 
QuestionI Want to be able to give more than one output until mobhp = 0? How do i do that? Pin
Ultra9609-Jun-20 3:20
Ultra9609-Jun-20 3:20 
AnswerRe: I Want to be able to give more than one output until mobhp = 0? How do i do that? Pin
jsc429-Jun-20 3:40
professionaljsc429-Jun-20 3:40 
Question[C#] Diffirent between thread and timer Pin
namnv97-Jun-20 15:55
professionalnamnv97-Jun-20 15:55 
AnswerRe: [C#] Diffirent between thread and timer Pin
OriginalGriff7-Jun-20 20:23
mveOriginalGriff7-Jun-20 20:23 
AnswerRe: [C#] Diffirent between thread and timer Pin
Eddy Vluggen8-Jun-20 1:25
professionalEddy Vluggen8-Jun-20 1:25 
QuestionNeed help calling a static method Pin
Member 148563427-Jun-20 15:00
Member 148563427-Jun-20 15:00 
Hello, I'm currently making a program that will take a HEX string and convert it into an image.

I talked to a experienced coder and he gave me some steps to my problem:
1) Create a simple hello world program with a main method
2) Make it so your program can print out the byte array you input to the console
3) Figure out how to link in the libraries the code you posted references (looks like SkiaSharp and PakReader)
4) Make the call to the code you showed (TextureDecoder.DecodeImage)
5) Write the resulting SKImage to a file

I'm trying to call a method from a separate program. I'm really inexperienced and confused even after looking at documentation and multiple YT videos.

I had a couple of questions about how I should do this:

I'm trying to call
C#
TextureDecoder.DecodeImage
from the program in the link below.
hastebin[^]

MY current code so far, based off of the first 3 Steps a guy gave me for help:

C#
using System;
using System.IO;
using PakReader.Parsers.Objects;
using SkiaSharp;


namespace EncyptedViewing
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("HEX Input");
        }
    }
}

I would like to know how I would call the class from the link above TextureDecoder.DecodeImage into the program above, or is that not possible and I need to do it all in one program?

Thanks, and stay safe.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.